Exemplo n.º 1
0
 public static function run()
 {
     require_once dirname(__FILE__) . '/classes/config.class.php';
     $name = PrisnaGWTConfig::getDbSettingsName();
     if (get_option($name)) {
         delete_option($name);
     }
 }
Exemplo n.º 2
0
 public static function reset()
 {
     if (get_option(PrisnaGWTConfig::getDbSettingsName())) {
         delete_option(PrisnaGWTConfig::getDbSettingsName());
     }
 }