OSDN Git Service

FIX: アイテムオブジェクトがキャッシュから取得されない場合があるバグを修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 27 May 2012 01:03:28 +0000 (10:03 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 27 May 2012 01:03:28 +0000 (10:03 +0900)
キャッシュへの不要なアクセスをしていた。

nucleus/libs/MANAGER.php

index 8dd1b6a..c8d9b01 100644 (file)
@@ -102,8 +102,6 @@ class Manager
         */\r
        public function &getItem($itemid, $allowdraft, $allowfuture)\r
        {\r
         */\r
        public function &getItem($itemid, $allowdraft, $allowfuture)\r
        {\r
-               $item =& $this->items[$itemid];\r
-               \r
                /* confirm to cached */\r
                if ( !array_key_exists($itemid, $this->items) )\r
                {\r
                /* confirm to cached */\r
                if ( !array_key_exists($itemid, $this->items) )\r
                {\r