aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php1
-rw-r--r--mod/settings.php6
2 files changed, 7 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 0f4b4f7e8..13614f00d 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -9,6 +9,7 @@ function network_init(&$a) {
}
$channel = $a->get_channel();
+ $a->profile_uid = local_user();
head_set_icon($channel['xchan_photo_s']);
$is_a_date_query = false;
diff --git a/mod/settings.php b/mod/settings.php
index 164a2a8a0..1878fceb6 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -3,6 +3,7 @@
require_once('include/settings.php');
+
function get_theme_config_file($theme){
$base_theme = get_app()->theme_info['extends'];
@@ -16,6 +17,11 @@ function get_theme_config_file($theme){
return null;
}
+function settings_init(&$a) {
+ $a->profile_uid = local_user();
+}
+
+
function settings_aside(&$a) {