git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@59 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+2
-2
@@ -7,9 +7,9 @@
|
||||
$app->get('/profile/statusCache', function () use ($app) {
|
||||
$callbackFn = $app->request()->get('callback');
|
||||
$mysqlconnetion = new MysqlClass;
|
||||
$query = "select 0 as ID_CATEGORIA, MAX(Data_creazione) as LastDateModified from categorie" .
|
||||
$query = "select 0 as ID_CATEGORIA, MAX(data_creazione) as LastDateModified from categorie" .
|
||||
" UNION" .
|
||||
" select ID_CATEGORIA, MAX(Data_creazione) as LastDateModified from ricette" .
|
||||
" select ID_CATEGORIA, MAX(Data_modifica) as LastDateModified from ricette" .
|
||||
" GROUP BY ID_CATEGORIA";
|
||||
$retObj = $mysqlconnetion->queryToObject($query);
|
||||
$mysqlconnetion->disconnetti();
|
||||
|
||||
Reference in New Issue
Block a user