@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @param mixed $value The current value of the plugin hook |
133 | 133 | * @param mixed $params Data passed from the trigger |
134 | 134 | * |
135 | - * @return mixed if not null, this will be the new value of the plugin hook |
|
135 | + * @return boolean if not null, this will be the new value of the plugin hook |
|
136 | 136 | */ |
137 | 137 | function minor_save_hook_handler($hook, $type, $value, $params) { |
138 | 138 | |
@@ -620,7 +620,6 @@ discard block |
||
620 | 620 | /** |
621 | 621 | * returns the headers for ical |
622 | 622 | * |
623 | - * @param string $type_event |
|
624 | 623 | * @param ElggObject $event |
625 | 624 | * @param string $start_date |
626 | 625 | * @param string $end_date |
@@ -1486,6 +1485,9 @@ discard block |
||
1486 | 1485 | } |
1487 | 1486 | |
1488 | 1487 | |
1488 | +/** |
|
1489 | + * @param string $error_message |
|
1490 | + */ |
|
1489 | 1491 | function notification_logging($error_message) { |
1490 | 1492 | // logging mechanism |
1491 | 1493 | if (elgg_is_active_plugin('wet4')) { |
@@ -1536,8 +1538,6 @@ discard block |
||
1536 | 1538 | * run crontab, retrieve users, send digest, reset timer (update timestamp) |
1537 | 1539 | * |
1538 | 1540 | * @param string $hook The name of the plugin hook |
1539 | - * @param string $type The type of the plugin hook |
|
1540 | - * @param mixed $value The current value of the plugin hook |
|
1541 | 1541 | * @param mixed $params Data passed from the trigger |
1542 | 1542 | */ |
1543 | 1543 | function cp_digest_weekly_cron_handler($hook, $entity_type, $return_value, $params) { |
@@ -1586,6 +1586,7 @@ discard block |
||
1586 | 1586 | * @param string $entity_type The type of the plugin hook |
1587 | 1587 | * @param mixed $return_value The current value of the plugin hook |
1588 | 1588 | * @param mixed $params Data passed from the trigger |
1589 | + * @param string $frequency |
|
1589 | 1590 | */ |
1590 | 1591 | function cp_digest_email_handler($hook, $entity_type, $return_value, $params, $frequency) { |
1591 | 1592 | $dbprefix = elgg_get_config('dbprefix'); |
@@ -1778,7 +1779,6 @@ discard block |
||
1778 | 1779 | * |
1779 | 1780 | * @param string $hook The name of the plugin hook |
1780 | 1781 | * @param string $type The type of the plugin hook |
1781 | - * @param mixed $value The current value of the plugin hook |
|
1782 | 1782 | * @param mixed $params Data passed from the trigger |
1783 | 1783 | */ |
1784 | 1784 | function cpn_email_handler_hook($hook, $type, $notification, $params) { |
@@ -1792,7 +1792,6 @@ discard block |
||
1792 | 1792 | * |
1793 | 1793 | * @param string $hook The name of the plugin hook |
1794 | 1794 | * @param string $type The type of the plugin hook |
1795 | - * @param mixed $value The current value of the plugin hook |
|
1796 | 1795 | * @param mixed $params Data passed from the trigger |
1797 | 1796 | * |
1798 | 1797 | * @return mixed if not null, this will be the new value of the plugin hook |