]> git.wh0rd.org - tt-rss.git/blame - classes/handler.php
fix missing DB object when instantiated to import opml
[tt-rss.git] / classes / handler.php
CommitLineData
d5112468 1<?php
8dcb2b47 2class Handler implements IHandler {
6322ac79 3 protected $dbh;
d5112468
AD
4 protected $args;
5
1f294435
AD
6 function __construct($args) {
7 $this->dbh = Db::get();
d5112468
AD
8 $this->args = $args;
9 }
10
8484ce22
AD
11 function csrf_ignore($method) {
12 return true;
13 }
14
17f9d200 15 function before($method) {
d5112468
AD
16 return true;
17 }
3f363052
AD
18
19 function after() {
20 return true;
21 }
97acbaf1 22
d5112468
AD
23}
24?>