Added a lot of constants :-)
This commit is contained in:
parent
9ff89a970a
commit
acf52a9783
16 changed files with 51 additions and 65 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
namespace Friendica\Core\Lock\Enum;
|
||||
|
||||
use Friendica\Core\Cache\Enum\Type as CacheType;
|
||||
use Friendica\Core\Cache\Type\DatabaseCache;
|
||||
|
||||
/**
|
||||
* Enumeration for lock types
|
||||
|
@ -30,6 +30,6 @@ use Friendica\Core\Cache\Enum\Type as CacheType;
|
|||
*/
|
||||
abstract class Type
|
||||
{
|
||||
const DATABASE = CacheType::DATABASE;
|
||||
const DATABASE = DatabaseCache::NAME;
|
||||
const SEMAPHORE = 'semaphore';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue