public function InstapageCmsPluginDebugLogModel::clear in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/models/InstapageCmsPluginDebugLogModel.php \InstapageCmsPluginDebugLogModel::clear()
Clears the debug log.
File
- core/
models/ InstapageCmsPluginDebugLogModel.php, line 87
Class
- InstapageCmsPluginDebugLogModel
- Class responsible for storing the data in debug log.
Code
public function clear() {
$db = InstapageCmsPluginDBModel::getInstance();
$sql = 'DELETE FROM ' . $db->debugTable;
$db
->query($sql);
}