Browse Source

Removed Connection::__sleep.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
f05f85fcfe
  1. 9
      framework/yii/db/Connection.php

9
framework/yii/db/Connection.php

@ -251,15 +251,6 @@ class Connection extends Component
*/
private $_schema;
/**
* Closes the connection when this component is being serialized.
* @return array
*/
public function __sleep()
{
$this->close();
return array_keys(get_object_vars($this));
}
/**
* Returns a value indicating whether the DB connection is established.

Loading…
Cancel
Save