mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Revert "FIX make augmentSQL API consistent for strict PHP"
This reverts commit ab40dcc0ca
.
This commit is contained in:
parent
f5b6c55245
commit
1cebfc5d51
@ -42,7 +42,7 @@ abstract class DataExtension extends Extension {
|
|||||||
*
|
*
|
||||||
* @param SQLQuery $query Query to augment.
|
* @param SQLQuery $query Query to augment.
|
||||||
*/
|
*/
|
||||||
public function augmentSQL(SQLQuery &$query, DataQuery &$dataQuery = null) {
|
public function augmentSQL(SQLQuery &$query) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,7 +38,7 @@ class Hierarchy extends DataExtension {
|
|||||||
*/
|
*/
|
||||||
private static $node_threshold_leaf = 250;
|
private static $node_threshold_leaf = 250;
|
||||||
|
|
||||||
public function augmentSQL(SQLQuery &$query, DataQuery &$dataQuery = null) {
|
public function augmentSQL(SQLQuery &$query) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function augmentDatabase() {
|
public function augmentDatabase() {
|
||||||
|
Loading…
Reference in New Issue
Block a user