* @copyright Since 2013 Ovidiu Cimpean * @license Do not edit, modify or copy this file * * @version Release: 4 */ class NewsletterProDb { public static function getInstance($master = true) { $db = Db::getInstance($master); $db->disconnect(); $db->connect(); return $db; } public static function refresh() { $db = Db::getInstance(); $db->disconnect(); $db->connect(); } public static function clear() { return Db::getInstance()->execute('RESET QUERY CACHE'); } }