From bc2953b5e7623800a4e9241aad67a045da20763a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov <noreply@fakecake.org> Date: Fri, 5 Mar 2021 09:55:28 +0300 Subject: [PATCH] split no_url_hashes into a separate repo --- plugins/no_url_hashes/init.js | 9 --------- plugins/no_url_hashes/init.php | 24 ------------------------ 2 files changed, 33 deletions(-) delete mode 100644 plugins/no_url_hashes/init.js delete mode 100644 plugins/no_url_hashes/init.php diff --git a/plugins/no_url_hashes/init.js b/plugins/no_url_hashes/init.js deleted file mode 100644 index fc4596724..000000000 --- a/plugins/no_url_hashes/init.js +++ /dev/null @@ -1,9 +0,0 @@ -require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { - ready(function () { - hash_set = function () { - }; - hash_get = function () { - }; - }); -}); - diff --git a/plugins/no_url_hashes/init.php b/plugins/no_url_hashes/init.php deleted file mode 100644 index 57d4c9927..000000000 --- a/plugins/no_url_hashes/init.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -class No_URL_Hashes extends Plugin { - private $host; - - function about() { - return array(null, - "Disable URL hash usage (e.g. #f=10, etc)", - "fox"); - } - - function init($host) { - $this->host = $host; - - } - - function get_js() { - return file_get_contents(__DIR__ . "/init.js"); - } - - function api_version() { - return 2; - } - -} \ No newline at end of file -- GitLab