mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: SSViewer and SQLQuery no longer inherit from Object, since they should not be extended.
From: Andrew Short <andrewjshort@gmail.com> git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88700 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5c316aa1c0
commit
b59507414f
4
core/SSViewer.php
Normal file → Executable file
4
core/SSViewer.php
Normal file → Executable file
@ -47,7 +47,7 @@
|
||||
* @package sapphire
|
||||
* @subpackage view
|
||||
*/
|
||||
class SSViewer extends Object {
|
||||
class SSViewer {
|
||||
|
||||
/**
|
||||
* @var boolean $source_file_comments
|
||||
@ -173,8 +173,6 @@ class SSViewer extends Object {
|
||||
}
|
||||
|
||||
if(!$this->chosenTemplates) user_error("None of these templates can be found: ". implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,8 @@
|
||||
* @package sapphire
|
||||
* @subpackage model
|
||||
*/
|
||||
class SQLQuery extends Object {
|
||||
class SQLQuery {
|
||||
|
||||
/**
|
||||
* An array of fields to select.
|
||||
* @var array
|
||||
@ -100,8 +101,6 @@ class SQLQuery extends Object {
|
||||
$this->groupby($groupby);
|
||||
$this->having($having);
|
||||
$this->limit($limit);
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user