예제 #1
0
 function remove()
 {
     tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
     // Remove Google Checkout's additional tables.
     // TODO(eddavisson): Should we do this? Should we not?
     //tep_db_query("drop table " . $this->table_name);
     //tep_db_query("drop table " . $this->table_order);
     // Custom Google removal.
     $google_configuration = new GoogleConfiguration();
     $google_configuration->remove();
 }
예제 #2
0
function gc_get_configuration_value($key)
{
    $google_configuration = new GoogleConfiguration();
    return $google_configuration->getValue($key);
}