public static function Cleaner::cleanerAdditionalTablesClear in Cleaner 7
Clear additional tables.
1 call to Cleaner::cleanerAdditionalTablesClear()
- cleaner_cleaner_run in ./
cleaner.module - Implements hook_cleaner_run().
File
- ./
class.Cleaner.php, line 144 - Cleaner base class file.
Class
- Cleaner
- Class Cleaner.
Code
public static function cleanerAdditionalTablesClear() {
$list = self::cleanerClearTables(self::cleanerGetAdditionalTables());
if (!empty($list)) {
// Write a log about successful tables clearing into the watchdog.
self::cleanerLog('Cleared tables by Cleaner. (@list)', array(
'@list' => implode(', ', $list),
));
}
else {
self::cleanerLog('There are no selected tables in the database.', array(), WATCHDOG_ERROR);
}
}