Permalink
Browse files

MINOR Re-adding getFilter as a deprecated method instead of removing it

  • Loading branch information...
1 parent 3ed2d7e commit 80575a0e5eeba089f123635309f2da78fd8616ad @halkyon halkyon committed Apr 27, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 model/SQLQuery.php
View
@@ -538,6 +538,11 @@ function replaceText($old, $new) {
$this->replacementsNew[] = $new;
}
+ public function getFilter() {
+ Deprecation::notice('3.0', 'Please use prepareSelect() instead of getFilter()');
+ return $this->prepareSelect();
+ }
+
/**
* Return an SQL WHERE clause to filter a SELECT query.
*

0 comments on commit 80575a0

Please sign in to comment.