Improved subsite-admin search to support unit testing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40425 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2007-08-17 05:49:19 +00:00
parent 75804f6fc8
commit 63cbd15456

View File

@ -248,12 +248,8 @@ abstract class GenericDataAdmin extends LeftAndMain {
return $ret;
}
function getResults() {
if(Director::is_ajax()) {
return $this->Results();
} else {
return $this->Results();
}
function getResults($data, $form) {
return $this->Results($data, $form);
}
function getResultList($results, $link = true) {