Fixed deprecation warnings and improved compatibility with newer versions.
This commit is contained in:
@@ -15,7 +15,7 @@ class siteSearch
|
||||
private $defaultSite = __NAMESPACE__ . '\Sites\TPB';
|
||||
public function __construct()
|
||||
{
|
||||
$this->container = \OC::$server->query(IServerContainer::class);
|
||||
$this->container = \OC::$server->get(IServerContainer::class);
|
||||
$this->site = __NAMESPACE__ . '\Sites\TPB';
|
||||
}
|
||||
public function go($keyword): array
|
||||
|
||||
Reference in New Issue
Block a user