From a1921713653a9b3cb4a31daeca0cf75e65da73cd Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 19 Feb 2013 23:21:23 -0800 Subject: directory debugging --- include/dir_fns.php | 2 ++ include/directory.php | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') 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; -- cgit v1.2.3