Merge pull request #2042 from jthomerson/fix_augment_sql_api

FIX make augmentSQL API consistent for strict PHP
This commit is contained in:
Ingo Schommer 2013-05-31 14:22:46 -07:00
commit 8da41f4250
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ abstract class DataExtension extends Extension {
*
* @param SQLQuery $query Query to augment.
*/
public function augmentSQL(SQLQuery &$query) {
public function augmentSQL(SQLQuery &$query, DataQuery &$dataQuery = null) {
}
/**

View File

@ -38,7 +38,7 @@ class Hierarchy extends DataExtension {
*/
private static $node_threshold_leaf = 250;
public function augmentSQL(SQLQuery &$query) {
public function augmentSQL(SQLQuery &$query, DataQuery &$dataQuery = null) {
}
public function augmentDatabase() {