This commit is contained in:
parent
c435286eb0
commit
1cc0c764c3
@ -414,6 +414,8 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
|
||||
public function bulkInsert() {
|
||||
if(empty($this->insert))
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
foreach($this->insert as $name => $inserts) {
|
||||
if( ! isset($inserts[0]))
|
||||
|
@ -75,8 +75,6 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
|
||||
if(empty($this->insert))
|
||||
return false;
|
||||
|
||||
$values = $this->getMaximumValues(array_keys($this->insert));
|
||||
|
||||
foreach($this->insert as $name => $inserts) {
|
||||
if( ! isset($inserts[0]))
|
||||
continue;
|
||||
@ -156,6 +154,7 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->insert = array();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user