proper constant

This commit is contained in:
Garvin Hicking 2015-03-16 15:41:14 +01:00
parent d4ff11d812
commit 9ae37fbe7b
2 changed files with 2 additions and 1 deletions

View file

@ -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?');
?>

View file

@ -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());