mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-05-29 10:53:29 +00:00
Merge branch 'master' into 2.4
This commit is contained in:
commit
f09693f6e8
22 changed files with 147 additions and 30 deletions
lib/Cake/Model/Datasource
|
@ -21,6 +21,9 @@
|
|||
/**
|
||||
* DataSource base class
|
||||
*
|
||||
* DataSources are the link between models and the source of data that models represent.
|
||||
*
|
||||
* @link http://book.cakephp.org/2.0/en/models/datasources.html#basic-api-for-datasources
|
||||
* @package Cake.Model.Datasource
|
||||
*/
|
||||
class DataSource extends Object {
|
||||
|
|
|
@ -280,7 +280,7 @@ class DboSource extends DataSource {
|
|||
/**
|
||||
* Disconnects from database.
|
||||
*
|
||||
* @return boolean True if the database could be disconnected, else false
|
||||
* @return boolean Always true
|
||||
*/
|
||||
public function disconnect() {
|
||||
if ($this->_result instanceof PDOStatement) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue