@@ -82,13 +82,13 @@ |
||
82 | 82 | $existedColumns = $this->connection->getSchemaManager()->listTableColumns($tableName); |
83 | 83 | $existLastActivityTime = false; |
84 | 84 | foreach ($existedColumns as $existedColumn) { |
85 | - if($existedColumn->getName() == 'lastActivityTime'){ |
|
85 | + if ($existedColumn->getName() == 'lastActivityTime') { |
|
86 | 86 | $existLastActivityTime = true; |
87 | 87 | break; |
88 | 88 | } |
89 | 89 | } |
90 | 90 | // To avoid checking this column when it is not used in a table. |
91 | - if($existLastActivityTime){ |
|
91 | + if ($existLastActivityTime) { |
|
92 | 92 | /////'SHOW COLUMNS FROM '.$tableName.' LIKE `lastActivityTime`'); |
93 | 93 | // Let's get the last modification date: |
94 | 94 | $lastActivityTime = $this->connection->fetchColumn('SELECT MAX(lastActivityTime) FROM '.$tableName); |