Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public static function onExtensionFunction() { |
||
20 | |||
21 | define( 'SEQL_VERSION', '1.0.0-alpha' ); |
||
22 | class_alias( 'SEQL\ByHttpRequestQueryLookup', 'SMWExternalQueryLookup' ); // deprecated |
||
23 | class_alias( 'SEQL\ByHttpRequestQueryLookup', 'SMWExternalAskQueryLookup' ); |
||
24 | |||
25 | $options = array( |
||
26 | 'externalRepositoryEndpoints' => $GLOBALS['seqlgExternalRepositoryEndpoints'] |
||
27 | ); |
||
28 | |||
29 | $hookRegistry = new HookRegistry( |
||
30 | $options |
||
31 | ); |
||
32 | |||
33 | $hookRegistry->register(); |
||
34 | } |
||
35 | |||
46 |