Exemple #1
0
 /**
  * Remove an option
  *
  * @param string $name The name of the option, formatted like : <plugin>.<key>
  */
 public static function delete($name)
 {
     list($plugin, $key) = explode('.', $name);
     OptionModel::deleteByExample(new DBExample(array('plugin' => $plugin, 'key' => $key)));
 }