mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Remove system file
This commit is contained in:
@@ -137,7 +137,7 @@ abstract class task_abstract
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
@@ -454,10 +454,9 @@ abstract class task_abstract
|
|||||||
|
|
||||||
private function getLockfilePath()
|
private function getLockfilePath()
|
||||||
{
|
{
|
||||||
$registry = registry::get_instance();
|
$core = \bootstrap::getCore();
|
||||||
$lockdir = $registry->get('GV_RootPath') . 'tmp/locks/';
|
|
||||||
|
|
||||||
system_file::mkdir($lockdir);
|
$lockdir = $core->getRegistry()->get('GV_RootPath') . 'tmp/locks/';
|
||||||
$lockfile = ($lockdir . 'task_' . $this->getID() . '.lock');
|
$lockfile = ($lockdir . 'task_' . $this->getID() . '.lock');
|
||||||
|
|
||||||
return($lockfile);
|
return($lockfile);
|
||||||
|
Reference in New Issue
Block a user