More Code Standard
This commit is contained in:
parent
4f8e50d834
commit
590fbe8c6f
|
@ -27,8 +27,7 @@ function filerm_content(App $a)
|
||||||
|
|
||||||
Logger::log('filerm: tag ' . $term . ' item ' . $item_id . ' category ' . ($category ? 'true' : 'false'));
|
Logger::log('filerm: tag ' . $term . ' item ' . $item_id . ' category ' . ($category ? 'true' : 'false'));
|
||||||
|
|
||||||
if ($item_id && strlen($term))
|
if ($item_id && strlen($term)) {
|
||||||
{
|
|
||||||
if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)) {
|
if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)) {
|
||||||
info('Item removed');
|
info('Item removed');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue