mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Fix: Mark DocumentationSearch::get_index_location() as static
This commit is contained in:
parent
6df20c1f73
commit
88660f12f5
@ -181,7 +181,7 @@ class DocumentationSearch {
|
|||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_index_location() {
|
public static function get_index_location() {
|
||||||
if(!self::$index_location) {
|
if(!self::$index_location) {
|
||||||
self::$index_location = DOCSVIEWER_DIR;
|
self::$index_location = DOCSVIEWER_DIR;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user