[BUGFIX] Remove usage of storage_pid in query 07/41307/3
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 15 Jul 2015 14:49:56 +0000 (16:49 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 15 Jul 2015 14:53:49 +0000 (16:53 +0200)
The field storage_pid has been deprecated with #65790 and a last
usage has been forgotten which is now removed.

Change-Id: Ib43220461a62ad487b9fe2ea3083606f49690617
Resolves: #68172
Releases: master
Reviewed-on: http://review.typo3.org/41307
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 7770211..37dc4c2 100644 (file)
@@ -381,7 +381,7 @@ class BackendUtility {
                        $row = $getPageForRootline_cache[$ident];
                } else {
                        $db = static::getDatabaseConnection();
-                       $res = $db->exec_SELECTquery('pid,uid,title,doktype,TSconfig,is_siteroot,storage_pid,t3ver_oid,t3ver_wsid,t3ver_state,t3ver_stage,backend_layout_next_level', 'pages', 'uid=' . (int)$uid . ' ' . self::deleteClause('pages') . ' ' . $clause);
+                       $res = $db->exec_SELECTquery('pid,uid,title,doktype,TSconfig,is_siteroot,t3ver_oid,t3ver_wsid,t3ver_state,t3ver_stage,backend_layout_next_level', 'pages', 'uid=' . (int)$uid . ' ' . self::deleteClause('pages') . ' ' . $clause);
                        $row = $db->sql_fetch_assoc($res);
                        if ($row) {
                                $newLocation = FALSE;