directory debugging

This commit is contained in:
friendica 2013-02-19 23:21:23 -08:00
parent 3ba267d0c0
commit a192171365
2 changed files with 4 additions and 0 deletions

View File

@ -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)
);

View File

@ -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;