diff options
author | Andrew Dolgov <[email protected]> | 2021-03-05 09:55:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-05 09:55:28 +0300 |
commit | bc2953b5e7623800a4e9241aad67a045da20763a (patch) | |
tree | 08a2bc70f185c0f52ecd0b354b5be5fbf98dc9ad /plugins | |
parent | 198c9b40695774104d4c4737096f5d18dcd5da41 (diff) |
split no_url_hashes into a separate repo
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/no_url_hashes/init.js | 9 | ||||
-rw-r--r-- | plugins/no_url_hashes/init.php | 24 |
2 files changed, 0 insertions, 33 deletions
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 |