summaryrefslogtreecommitdiffstats
path: root/app/classes/OpmlManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/classes/OpmlManager.php')
-rw-r--r--app/classes/OpmlManager.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/classes/OpmlManager.php b/app/classes/OpmlManager.php
index d3940b2..66de7c9 100644
--- a/app/classes/OpmlManager.php
+++ b/app/classes/OpmlManager.php
@@ -26,7 +26,8 @@ class OpmlManager
* @param Opml $opml
* @param string $file
*/
- public static 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";
@@ -44,7 +45,8 @@ class OpmlManager
file_put_contents($file, $out);
}
- public static function backup($file){
+ public static function backup($file)
+ {
copy($file, $file.'.bak');
}
}