Renamed classes
This commit is contained in:
parent
3aa6d516bf
commit
1c5801ca8e
3 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ use Friendica\Database\DBA;
|
||||||
* Checks for contacts that are about to be deleted and ensures that they are removed.
|
* Checks for contacts that are about to be deleted and ensures that they are removed.
|
||||||
* This should be done automatically in the "remove" function. This here is a cleanup job.
|
* This should be done automatically in the "remove" function. This here is a cleanup job.
|
||||||
*/
|
*/
|
||||||
class CheckdeletedContacts
|
class CheckDeletedContacts
|
||||||
{
|
{
|
||||||
public static function execute()
|
public static function execute()
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@ use Friendica\DI;
|
||||||
/**
|
/**
|
||||||
* Delete all done workerqueue entries
|
* Delete all done workerqueue entries
|
||||||
*/
|
*/
|
||||||
class ClearWorkerqueue
|
class CleanWorkerQueue
|
||||||
{
|
{
|
||||||
public static function execute()
|
public static function execute()
|
||||||
{
|
{
|
|
@ -83,7 +83,7 @@ class Cron
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete all done workerqueue entries
|
// Delete all done workerqueue entries
|
||||||
Worker::add(PRIORITY_LOW, 'ClearWorkerqueue');
|
Worker::add(PRIORITY_LOW, 'CleanWorkerQueue');
|
||||||
|
|
||||||
// Clear cache entries
|
// Clear cache entries
|
||||||
Worker::add(PRIORITY_LOW, 'ClearCache');
|
Worker::add(PRIORITY_LOW, 'ClearCache');
|
||||||
|
@ -114,7 +114,7 @@ class Cron
|
||||||
// check upstream version?
|
// check upstream version?
|
||||||
Worker::add(PRIORITY_LOW, 'CheckVersion');
|
Worker::add(PRIORITY_LOW, 'CheckVersion');
|
||||||
|
|
||||||
Worker::add(PRIORITY_LOW, 'CheckdeletedContacts');
|
Worker::add(PRIORITY_LOW, 'CheckDeletedContacts');
|
||||||
|
|
||||||
if (DI::config()->get('system', 'optimize_tables')) {
|
if (DI::config()->get('system', 'optimize_tables')) {
|
||||||
Worker::add(PRIORITY_LOW, 'OptimizeTables');
|
Worker::add(PRIORITY_LOW, 'OptimizeTables');
|
||||||
|
|
Loading…
Reference in a new issue