aboutsummaryrefslogtreecommitdiff
path: root/lib/models/CronjobTask.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/CronjobTask.php')
-rw-r--r--lib/models/CronjobTask.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/models/CronjobTask.php b/lib/models/CronjobTask.php
index a9c331d..1304bc1 100644
--- a/lib/models/CronjobTask.php
+++ b/lib/models/CronjobTask.php
@@ -92,8 +92,6 @@ class CronjobTask extends SimpleORMap
];
$config['registered_callbacks']['after_initialize'][] = 'loadClass';
- $config['registered_callbacks']['before_store'][] = 'cbLogActivation';
- $config['registered_callbacks']['before_delete'][] = 'cbLogDeleting';
parent::configure($config);
}
@@ -123,21 +121,6 @@ class CronjobTask extends SimpleORMap
$this->valid = class_exists($this->class);
}
- protected function cbLogActivation($type)
- {
- if ($this->active && !$this->content_db['active']) {
- StudipLog::log('CRONJOB_TASK_ACTIVATED', null, null, $this->name);
- }
- if (!$this->active && $this->content_db['active']) {
- StudipLog::log('CRONJOB_TASK_DEACTIVATED', null, null, $this->name);
- }
- }
-
- protected function cbLogDeleting($type)
- {
- StudipLog::log('CRONJOB_TASK_DELETED', null, null, $this->name);
- }
-
/**
* Returns whether the task is defined in the core system or via a plugin.
*