예제 #1
0
 /**
  *	Description...
  *
  *	@return void
  **/
 public function _deleteStorage(RM_Total_Object $object)
 {
     $query = "drop table if exists " . $object->stableTable() . ";drop table if exists " . $object->tableName(TRUE) . ";";
     M('Db')->setCurrentConnection('storage');
     M('Db')->execBatch($query);
     M('Db')->setCurrentConnection('default');
 }