summaryrefslogtreecommitdiff
path: root/plugins/mobile/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-07 10:08:34 +0400
committerAndrew Dolgov <[email protected]>2013-05-07 10:08:34 +0400
commitd88922a5d31062196da6e69ab109079cda8867b2 (patch)
tree30c4a383843cab0b44d086a7898baba823970edc /plugins/mobile/init.php
parent7c433c9412cf0f5a0d582aacd1bed9a1660c866c (diff)
digest and mobile (old) moved to -contrib repository
Diffstat (limited to 'plugins/mobile/init.php')
-rw-r--r--plugins/mobile/init.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/plugins/mobile/init.php b/plugins/mobile/init.php
deleted file mode 100644
index 1a59fe33c..000000000
--- a/plugins/mobile/init.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-class Mobile extends Plugin implements IHandler {
- private $host;
-
- function about() {
- return array(1.0,
- "Classic mobile version for tt-rss (unsupported)",
- "fox",
- true);
- }
-
- function init($host) {
- $this->host = $host;
-
- $host->add_handler("mobile", "index", $this);
- }
-
- function index() {
- header("Content-type: text/html; charset=utf-8");
-
- header("Location: plugins/mobile/index.php");
- }
-
- /* function get_js() {
- return file_get_contents(dirname(__FILE__) . "/digest.js");
- } */
-
- function csrf_ignore($method) {
- return true; //in_array($method, array("index"));
- }
-
- function before($method) {
- return true;
- }
-
- function after() {
-
- }
-
- function api_version() {
- return 2;
- }
-
-}
-?>