proper constant
This commit is contained in:
parent
d4ff11d812
commit
9ae37fbe7b
|
@ -11,4 +11,5 @@
|
|||
@define('PLUGIN_EVENT_DBCLEAN_NAME_MENU', 'Delete old data');
|
||||
@define('PLUGIN_EVENT_DBCLEAN_MENU_KEEP', 'Keep data from the last');
|
||||
@define('PLUGIN_EVENT_DBCLEAN_TABLE', 'Table');
|
||||
@define('PLUGIN_EVENT_DBCLEAN_CRONJOB', 'Execute cronjob when?');
|
||||
?>
|
||||
|
|
|
@ -50,7 +50,7 @@ class serendipity_event_dbclean extends serendipity_event {
|
|||
case 'cronjob':
|
||||
if (class_exists('serendipity_event_cronjob')) {
|
||||
$propbag->add('type', 'select');
|
||||
$propbag->add('name', PLUGIN_EVENT_CRONJOB_CHOOSE);
|
||||
$propbag->add('name', PLUGIN_EVENT_DBCLEAN_CRONJOB);
|
||||
$propbag->add('description', '');
|
||||
$propbag->add('default', 'daily');
|
||||
$propbag->add('select_values', serendipity_event_cronjob::getValues());
|
||||
|
|
Loading…
Reference in a new issue