Browse Source

[ZF-7423]Inexisting property _config

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17318 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 years ago
parent
commit
cd41d45beb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      library/Zend/Queue/Adapter/Db.php

+ 2 - 2
library/Zend/Queue/Adapter/Db.php

@@ -173,7 +173,7 @@ class Zend_Queue_Adapter_Db extends Zend_Queue_Adapter_AdapterAbstract
         $queue->timeout = ($timeout === null) ? self::CREATE_TIMEOUT_DEFAULT : (int)$timeout;
 
         try {
-            if ($id = $queue->save()) {
+            if ($queue->save()) {
                 return true;
             }
         } catch (Exception $e) {
@@ -349,7 +349,7 @@ class Zend_Queue_Adapter_Db extends Zend_Queue_Adapter_AdapterAbstract
             $db->beginTransaction();
 
             $query = $db->select();
-            if ($this->_config['options'][Zend_Db_Select::FOR_UPDATE]) {
+            if ($this->_options['options'][Zend_Db_Select::FOR_UPDATE]) {
                 // turn on forUpdate
                 $query->forUpdate();
             }