1
0
Fork 0

More Code Standard

This commit is contained in:
Jonny Tischbein 2018-11-17 17:27:12 +01:00
parent 4f8e50d834
commit 590fbe8c6f
2 changed files with 4 additions and 5 deletions

View file

@ -27,8 +27,7 @@ function filerm_content(App $a)
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)) {
info('Item removed');
}