mirror of
https://github.com/grocy/grocy.git
synced 2025-09-16 09:51:30 +00:00
Optimize and refactor latest changes
This commit is contained in:
@@ -4,22 +4,6 @@ namespace Grocy\Services;
|
||||
|
||||
class ApplicationService extends BaseService
|
||||
{
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
public function IsDemoInstallation()
|
||||
{
|
||||
return file_exists(GROCY_DATAPATH . '/demo.txt');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
public function IsEmbeddedInstallation()
|
||||
{
|
||||
return file_exists(__DIR__ . '/../embedded.txt');
|
||||
}
|
||||
|
||||
private $InstalledVersion;
|
||||
public function GetInstalledVersion()
|
||||
{
|
||||
|
Reference in New Issue
Block a user