diff options
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php index b86ff4c1c..4743ecd66 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -14,6 +14,9 @@ function settings_post(&$a) { notice( t('Permission denied.') . EOL); return; } + + call_hooks('settings_post', $_POST); + if(count($a->user) && x($a->user,'uid') && $a->user['uid'] != local_user()) { notice( t('Permission denied.') . EOL); return; @@ -298,6 +301,9 @@ function settings_content(&$a) { '$pagetype' => $pagetype )); + call_hooks('settings_page',$o); + return $o; -}}
\ No newline at end of file +}} + |