aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2010-12-23 07:39:23 +0100
committerroot <root@diekershoff.homeunix.net>2010-12-23 07:39:23 +0100
commita1d593613d737d6f1a694adaddf515187580105c (patch)
tree1bf8cc90900dcf52f66b7c09a453acb5133a9b6a /mod/settings.php
parent780ab072f55bd18575ca821eb6ea481cc0728814 (diff)
parentd8969bb84b7a710bf77f23de0d392a192dfc8f53 (diff)
downloadvolse-hubzilla-a1d593613d737d6f1a694adaddf515187580105c.tar.gz
volse-hubzilla-a1d593613d737d6f1a694adaddf515187580105c.tar.bz2
volse-hubzilla-a1d593613d737d6f1a694adaddf515187580105c.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php8
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
+}}
+