upgrade
This commit is contained in:
34
plugin/nosearchindex/NoSearchIndex.php
Normal file
34
plugin/nosearchindex/NoSearchIndex.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
/**
|
||||
* Class NoSearchIndex.
|
||||
*/
|
||||
class NoSearchIndex extends Plugin
|
||||
{
|
||||
public $addCourseTool = false;
|
||||
|
||||
/**
|
||||
* NoSearchIndex constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'0.1',
|
||||
'Julio Montoya',
|
||||
[
|
||||
'tool_enable' => 'boolean',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public static function create()
|
||||
{
|
||||
static $result = null;
|
||||
|
||||
return $result ? $result : $result = new self();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user