original_string: public function set12HourClock($login, $use12HourClock)
      {
          $query = 'INSERT INTO ' . $this->table .
              ' (login, use_12_hour_clock) VALUES (?,?) ON DUPLICATE KEY UPDATE use_12_hour_clock=?';
          $bind  = array($login, $use12HourClock, $use12HourClock);
          Db::query($query, $bind);
  
          return true;
      }
code: public function set12HourClock($login, $use12HourClock)
      {
          $query = 'INSERT INTO ' . $this->table .
              ' (login, use_12_hour_clock) VALUES (?,?) ON DUPLICATE KEY UPDATE use_12_hour_clock=?';
          $bind  = array($login, $use12HourClock, $use12HourClock);
          Db::query($query, $bind);
  
          return true;
      }
code_tokens: public function set12HourClock ( $ login , $ use12HourClock ) { $ query = 'INSERT INTO ' . $ this -> table . ' (login, use_12_hour_clock) VALUES (?,?) ON DUPLICATE KEY UPDATE use_12_hour_clock=?' ; $ bind = array ( $ login , $ use12HourClock , $ use12HourClock ) ; Db :: query ( $ query , $ bind ) ; return true ; }
docstring: Sets whether the given user wants to use 12 hout clock
  
  @param string $login
  @param string $use12HourClock
  @return bool
docstring_tokens: Sets whether the given user wants to use 12 hout clock