Fixing functions called statically to be declared as such

This commit is contained in:
Sean Harvey 2013-01-23 16:22:27 +13:00
parent 73a66da658
commit 927e1b0724
2 changed files with 4 additions and 4 deletions

View File

@ -174,14 +174,14 @@ class DocumentationSearch {
/**
* @param string
*/
public function set_index($index) {
public static function set_index($index) {
self::$index_location = $index;
}
/**
* @return string
*/
public function get_index_location() {
public static function get_index_location() {
if(!self::$index_location) {
self::$index_location = DOCSVIEWER_DIR;
}
@ -449,4 +449,4 @@ class DocumentationSearch {
return $this->outputController->customise($data)->renderWith($templates);
}
}
}

View File

@ -545,4 +545,4 @@ class DocumentationService {
closedir($handle);
}
}
}