fix doxygen header + indent

This commit is contained in:
Jonny Tischbein 2018-10-23 13:32:32 +02:00
parent 1689c44085
commit 272eb5eb82
3 changed files with 14 additions and 8 deletions

View file

@ -37,6 +37,11 @@ function tagrm_post(App $a)
// NOTREACHED // NOTREACHED
} }
/**
* Updates tags from an item
* @param $item_id
* @param $tags array
*/
function update_tags($item_id, $tags){ function update_tags($item_id, $tags){
if (empty($item_id) || empty($tags)){ if (empty($item_id) || empty($tags)){
$a->internalRedirect($_SESSION['photo_return']); $a->internalRedirect($_SESSION['photo_return']);

View file

@ -291,8 +291,9 @@ class Term
return $return; return $return;
} }
/* /**
* Deletes all Tags from an item * Delete all tags from an item
* @param int itemid - choose from which item the tags will be removed
*/ */
public static function deleteAllTags($itemid) public static function deleteAllTags($itemid)
{ {