diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-10 14:41:58 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-10 14:41:58 +0200 |
commit | ce4a1dcc193d3124fc51c4942137621d3d806a19 (patch) | |
tree | 437baacae734dd62426329fa4fa830beb78c7aea /inc | |
parent | d5ce28df67fcddfb957ce28424f3e5751f433695 (diff) | |
download | wallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.tar.gz wallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.tar.zst wallabag-ce4a1dcc193d3124fc51c4942137621d3d806a19.zip |
changes to add url directly from poche
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 4fe938fb..5030c9aa 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -182,7 +182,7 @@ class Poche | |||
182 | } | 182 | } |
183 | 183 | ||
184 | if (!$import) { | 184 | if (!$import) { |
185 | Tools::redirect(); | 185 | Tools::redirect('?view=home'); |
186 | } | 186 | } |
187 | break; | 187 | break; |
188 | case 'delete': | 188 | case 'delete': |
@@ -558,9 +558,4 @@ class Poche | |||
558 | } | 558 | } |
559 | return $version; | 559 | return $version; |
560 | } | 560 | } |
561 | |||
562 | function convertURLToBase64($plainurl){ | ||
563 | $convertedURL = base64_encode($plainurl); | ||
564 | $this->action('add', new Url($convertedURL)); | ||
565 | } | ||
566 | } \ No newline at end of file | 561 | } \ No newline at end of file |