@@ -51,8 +51,11 @@ |
||
| 51 | 51 | |
| 52 | 52 | public function flushCache($tableName = '') |
| 53 | 53 | { |
| 54 | - if (!empty($tableName)) $table = $this->prefix . $tableName; |
|
| 55 | - else $table = $this->prefix . '*'; |
|
| 54 | + if (!empty($tableName)) { |
|
| 55 | + $table = $this->prefix . $tableName; |
|
| 56 | + } else { |
|
| 57 | + $table = $this->prefix . '*'; |
|
| 58 | + } |
|
| 56 | 59 | |
| 57 | 60 | array_map('unlink', glob(TEMP_ROOT . '/' . self::$config['engine'] . '/' . $table . '*')); |
| 58 | 61 | } |