Logger::log('filerm: tag ' . $term . ' item ' . $item_id . ' category ' . ($category ? 'true' : 'false'));
- if ($item_id && strlen($term))
- {
- if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)){
+ if ($item_id && strlen($term)) {
+ if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)) {
info('Item removed');
}
}
$o = networkThreadedView($a, $update, $parent);
}
- if ($o === ''){
+ if ($o === '') {
info("No items found");
}
}
DBA::close($result);
- if (count($posts) == 0){
+ if (count($posts) == 0) {
return '';
}
$condition = ['uid' => local_user(), 'id' => $posts];