diff options
author | friendica <info@friendica.com> | 2013-02-19 23:21:23 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-19 23:21:23 -0800 |
commit | a1921713653a9b3cb4a31daeca0cf75e65da73cd (patch) | |
tree | f135339ec20a6b460c429688408cee4f38c9a661 | |
parent | 3ba267d0c06bb4a3982e3d62f1d592be27e8fa17 (diff) | |
download | volse-hubzilla-a1921713653a9b3cb4a31daeca0cf75e65da73cd.tar.gz volse-hubzilla-a1921713653a9b3cb4a31daeca0cf75e65da73cd.tar.bz2 volse-hubzilla-a1921713653a9b3cb4a31daeca0cf75e65da73cd.zip |
directory debugging
-rw-r--r-- | include/dir_fns.php | 2 | ||||
-rw-r--r-- | include/directory.php | 2 |
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; |