diff options
Diffstat (limited to 'app/lib/lib.opml.php')
-rw-r--r-- | app/lib/lib.opml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/lib.opml.php b/app/lib/lib.opml.php index ecb71a8..7a20321 100644 --- a/app/lib/lib.opml.php +++ b/app/lib/lib.opml.php @@ -86,7 +86,7 @@ class OpmlManager } } - public function save($opml, $file){ + public static function save($opml, $file){ $out = '<?xml version="1.0"?>'."\n"; $out.= '<opml version="1.1">'."\n"; $out.= '<head>'."\n"; @@ -104,7 +104,7 @@ class OpmlManager file_put_contents($file, $out); } - public function backup($file){ + public static function backup($file){ copy($file, $file.'.bak'); } } |