@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * @param mixed $value The current value of the plugin hook |
130 | 130 | * @param mixed $params Data passed from the trigger |
131 | 131 | * |
132 | - * @return mixed if not null, this will be the new value of the plugin hook |
|
132 | + * @return boolean if not null, this will be the new value of the plugin hook |
|
133 | 133 | */ |
134 | 134 | function minor_save_hook_handler($hook, $type, $value, $params) { |
135 | 135 | |
@@ -1299,6 +1299,9 @@ discard block |
||
1299 | 1299 | } |
1300 | 1300 | |
1301 | 1301 | |
1302 | +/** |
|
1303 | + * @param string $error_message |
|
1304 | + */ |
|
1302 | 1305 | function notification_logging($error_message) { |
1303 | 1306 | // logging mechanism |
1304 | 1307 | if (elgg_is_active_plugin('wet4')) { |
@@ -1349,8 +1352,6 @@ discard block |
||
1349 | 1352 | * run crontab, retrieve users, send digest, reset timer (update timestamp) |
1350 | 1353 | * |
1351 | 1354 | * @param string $hook The name of the plugin hook |
1352 | - * @param string $type The type of the plugin hook |
|
1353 | - * @param mixed $value The current value of the plugin hook |
|
1354 | 1355 | * @param mixed $params Data passed from the trigger |
1355 | 1356 | */ |
1356 | 1357 | function cp_digest_weekly_cron_handler($hook, $entity_type, $return_value, $params) { |
@@ -1623,7 +1624,6 @@ discard block |
||
1623 | 1624 | * |
1624 | 1625 | * @param string $hook The name of the plugin hook |
1625 | 1626 | * @param string $type The type of the plugin hook |
1626 | - * @param mixed $value The current value of the plugin hook |
|
1627 | 1627 | * @param mixed $params Data passed from the trigger |
1628 | 1628 | */ |
1629 | 1629 | function cpn_email_handler_hook($hook, $type, $notification, $params) { |
@@ -1637,7 +1637,6 @@ discard block |
||
1637 | 1637 | * |
1638 | 1638 | * @param string $hook The name of the plugin hook |
1639 | 1639 | * @param string $type The type of the plugin hook |
1640 | - * @param mixed $value The current value of the plugin hook |
|
1641 | 1640 | * @param mixed $params Data passed from the trigger |
1642 | 1641 | * |
1643 | 1642 | * @return mixed if not null, this will be the new value of the plugin hook |