aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index 96fe97260..c828941b6 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -299,10 +299,7 @@ function profiles_post(&$a) {
}
if($is_default) {
- // Update global directory in background
- $url = $_SESSION['my_url'];
- if($url && strlen(get_config('system','directory_submit_url')))
- proc_run('php',"include/directory.php","$url");
+ proc_run('php','include/directory.php',local_user());
}
}
}