aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dir_fns.php2
-rw-r--r--include/directory.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 904d27189..be1bcd503 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -8,6 +8,8 @@ function find_upstream_directory($dirmode) {
function syncdirs($uid) {
+ logger('syncdirs', LOGGER_DEBUG);
+
$p = q("select channel.channel_hash, profile.* from profile left join channel on channel_id = uid where uid = %d and is_default = 1",
intval($uid)
);
diff --git a/include/directory.php b/include/directory.php
index d1862cb57..b0b975358 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -12,6 +12,8 @@ function directory_run($argv, $argc){
if($argc != 2)
return;
+ logger('directory update', LOGGER_DEBUG);
+
$dirmode = get_config('system','directory_mode');
if($dirmode === false)
$dirmode = DIRECTORY_MODE_NORMAL;