aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-04-04 08:56:35 +0200
committerzottel <github@zottel.net>2012-04-04 08:56:35 +0200
commit64a1367525ac920721943a08adec1124657df70d (patch)
treebf23c495a023915b0d4063adfb6fc04e046a28d8 /mod/settings.php
parente5cd5aab5cf5fd5019ec3178f09f5515c390c9d9 (diff)
parent5c6c9d756fbb816c1473ccb7b6ec72662c749f4f (diff)
downloadvolse-hubzilla-64a1367525ac920721943a08adec1124657df70d.tar.gz
volse-hubzilla-64a1367525ac920721943a08adec1124657df70d.tar.bz2
volse-hubzilla-64a1367525ac920721943a08adec1124657df70d.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/settings.php')
-rwxr-xr-xmod/settings.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 926d1faa5..6879da285 100755
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -229,7 +229,7 @@ function settings_post(&$a) {
if ($theme == $a->user['theme']){
- // call theme_post only if theme has not benn changed
+ // call theme_post only if theme has not been changed
if( ($themeconfigfile = get_theme_config_file($theme)) != null){
require_once($themeconfigfile);
theme_post($a);
@@ -242,6 +242,7 @@ function settings_post(&$a) {
intval(local_user())
);
+ call_hooks('display_settings_post', $_POST);
goaway($a->get_baseurl(true) . '/settings/display' );
return; // NOTREACHED
}
@@ -679,6 +680,8 @@ function settings_content(&$a) {
'$settings_connectors' => $settings_connectors
));
+
+ call_hooks('display_settings', $o);
return $o;
}