/** * Works on destroying table data */ public function uninstall() { die('serious?'); // clears all tables !!! \Model\User::setdown(); \Model\Payload::setdown(); \Model\Webot::setdown(); $cfg = new Config(); $cfg->clear('ACTIVE_DB'); $cfg->save(); \Base::instance()->clear('SESSION'); echo "Done Uninstalling Current Tables!"; }