|
@@ -128,10 +128,10 @@ |
|
|
block discarded – undo |
|
128
|
128
|
// Let's get the last modification date: |
|
129
|
129
|
$tableDetail = $this->connection->getSchemaManager()->listTableDetails($tableName); |
|
130
|
130
|
$lastActivityTime = null; |
|
131
|
|
- if($tableDetail->hasColumn('modifiedTime')){ |
|
|
131
|
+ if ($tableDetail->hasColumn('modifiedTime')) { |
|
132
|
132
|
$lastActivityTime = $this->connection->fetchColumn('SELECT MAX(modifiedTime) FROM '.$tableName); |
|
133
|
133
|
} |
|
134
|
|
- if(!$lastActivityTime && $tableDetail->hasColumn('createdTime')) |
|
|
134
|
+ if (!$lastActivityTime && $tableDetail->hasColumn('createdTime')) |
|
135
|
135
|
{ |
|
136
|
136
|
$lastActivityTime = $this->connection->fetchColumn('SELECT MAX(createdTime) FROM '.$tableName); |
|
137
|
137
|
} |
Please login to merge, or discard this patch.