summaryrefslogtreecommitdiff
path: root/modules/local_import/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/local_import/helpers')
-rw-r--r--modules/local_import/helpers/local_import.php4
-rw-r--r--modules/local_import/helpers/local_import_block.php2
-rw-r--r--modules/local_import/helpers/local_import_installer.php4
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/local_import/helpers/local_import.php b/modules/local_import/helpers/local_import.php
index ca7d01e4..d40b6016 100644
--- a/modules/local_import/helpers/local_import.php
+++ b/modules/local_import/helpers/local_import.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import {
- public static function get_admin_page() {
+ static function get_admin_page() {
$template = new View("local_import_admin.html");
$paths = unserialize(module::get_var("local_import", "authorized_paths", "a:0:{}"));
@@ -30,7 +30,7 @@ class local_import {
return $template;
}
- public static function get_admin_form() {
+ static function get_admin_form() {
$form = new Forge("admin/local_import/add_path", "", "post", array("id" => "gLocalImportAdminForm"));
$add_path = $form->group("add_path");
$add_path->input("path")->label(t("Path"))->rules("required")
diff --git a/modules/local_import/helpers/local_import_block.php b/modules/local_import/helpers/local_import_block.php
index c337af41..b412f338 100644
--- a/modules/local_import/helpers/local_import_block.php
+++ b/modules/local_import/helpers/local_import_block.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import_block_Core {
- public static function head($theme) {
+ static function head($theme) {
$head[] = html::script("modules/local_import/js/local_import.js");
$url = url::file("modules/local_import/css/local_import.css");
diff --git a/modules/local_import/helpers/local_import_installer.php b/modules/local_import/helpers/local_import_installer.php
index 0af35669..ea9b5d93 100644
--- a/modules/local_import/helpers/local_import_installer.php
+++ b/modules/local_import/helpers/local_import_installer.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import_installer {
- public static function install() {
+ static function install() {
$db = Database::instance();
$version = module::get_version("local_import");
if ($version == 0) {
@@ -31,7 +31,7 @@ class local_import_installer {
}
}
- public static function uninstall() {
+ static function uninstall() {
access::delete_permission("local_import");
$module = module::get("local_import");