src/libraries/adapters/DatabaseSimpleDb.php
/**
    * Add a new tag to the database
    * This method does not overwrite existing values present in $params - hence "new user".
    *
    * @param string $id ID of the user to update which is always 1.
    * @param array $params Attributes to update.
    * @return boolean
    */
Add a new tag to the database
This method does not overwrite existing values present in $params - hence "new user".

@param string $id ID of the user to update which is always 1.
@param array $params Attributes to update.
@return boolean
Add a new tag to the database This method does not overwrite existing values present in $params - hence " new user " . @param string $id ID of the user to update which is always 1 . @param array $params Attributes to update . @return boolean
public function putTag($id, $params)
  {
    if(!isset($params['count']))
      $params['count'] = 0;
    else
      $params['count'] = max(0, intval($params['count']));
    return $this->postTag($id, $params);
  }
public function putTag ( $ id , $ params ) { if ( ! isset ( $ params [ 'count' ] ) ) $ params [ 'count' ] = 0 ; else $ params [ 'count' ] = max ( 0 , intval ( $ params [ 'count' ] ) ) ; return $ this -> postTag ( $ id , $ params ) ; }
Add a new tag to the database
 This method does not overwrite existing values present in $params - hence "new user".
Add a new tag to the database This method does not overwrite existing values present in $params - hence " new user " .