aboutsummaryrefslogtreecommitdiff
path: root/mod/logrotate/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logrotate/views')
-rw-r--r--mod/logrotate/views/default/settings/logrotate/edit.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/mod/logrotate/views/default/settings/logrotate/edit.php b/mod/logrotate/views/default/settings/logrotate/edit.php
index 19b92c320..db439eaa0 100644
--- a/mod/logrotate/views/default/settings/logrotate/edit.php
+++ b/mod/logrotate/views/default/settings/logrotate/edit.php
@@ -1,6 +1,14 @@
<?php
- $period = $vars['entity']->period;
- if (!$period) $period = 'monthly';
+/**
+ * Elgg log rotator plugin settings.
+ *
+ * @package ElggLogRotate
+ */
+
+$period = $vars['entity']->period;
+if (!$period) {
+ $period = 'monthly';
+}
?>
<p>