src/libraries/adapters/DatabaseMySql.php
/**
    * Delete groups for an element from the mapping table
    *
    * @param string $id Element id (id of the photo or video)
    * @param string $tag Tag to be added
    * @param string $type Element type (photo or video)
    * @return boolean
    */
Delete groups for an element from the mapping table
@param string $id Element id (id of the photo or video)
@param string $tag Tag to be added
@param string $type Element type (photo or video)
@return boolean
Delete groups for an element from the mapping table @param string $id Element id ( id of the photo or video ) @param string $tag Tag to be added @param string $type Element type ( photo or video ) @return boolean
private function deleteGroupsFromElement($id, $type)
  {
    $res = $this->db->execute("DELETE FROM `{$this->mySqlTablePrefix}elementGroup` WHERE `owner`=:owner AND `type`=:type AND `element`=:element", array(':owner' => $this->owner, ':type' => $type, ':element' => $id));
    return $res !== false;
  }
private function deleteGroupsFromElement ( $ id , $ type ) { $ res = $ this -> db -> execute ( " DELETE FROM ` { $ this -> mySqlTablePrefix } elementGroup` WHERE `owner`=:owner AND `type`=:type AND `element`=:element " , array ( ':owner' => $ this -> owner , ':type' => $ type , ':element' => $ id ) ) ; return $ res !== false ; }
Delete groups for an element from the mapping table
 @param string $id Element id (id of the photo or video)
 @param string $tag Tag to be added
 @param string $type Element type (photo or video)
 @return boolean
Delete groups for an element from the mapping table @param string $id Element id ( id of the photo or video ) @param string $tag Tag to be added @param string $type Element type ( photo or video ) @return boolean