aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-06 00:00:46 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-06 00:00:46 +0200
commit34d268544e565985014ada4369e8673c87883a0a (patch)
tree49a30ed61668405d731df2e32b4548516ecb58b5 /mod/settings.php
parent81dfb61f930005f0f65b1f72935c10edc247a985 (diff)
parent9b6e91086b29554fd04362f6c87ea148718e8b1c (diff)
downloadvolse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.gz
volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.bz2
volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.zip
Merge commit '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;
}