コード例 #1
0
ファイル: manager.php プロジェクト: Sajaki/customisation-db
    /**
     * Delete authentication key.
     *
     * @param string $key
     * @return null
     */
    protected function delete_auth_key($key)
    {
        $config_name = 'titania_key_' . $key;
        $sql = 'DELETE FROM ' . $this->table_prefix . 'config
			WHERE config_name = "' . $this->db->sql_escape($config_name) . '"';
        $this->db->sql_query($sql);
    }