aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 27d6f4a6..f5262a8e 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -303,6 +303,15 @@ class Poche
303 $this->messages->add('s', _('The tag has been successfully deleted')); 303 $this->messages->add('s', _('The tag has been successfully deleted'));
304 Tools::redirect(); 304 Tools::redirect();
305 break; 305 break;
306 case 'reload_article' :
307 Tools::logm('reload article');
308 $id = $_GET['id'];
309 $entry = $this->store->retrieveOneById($id, $this->user->getId());
310 Tools::logm('reload url ' . $entry['url']);
311 $url = new Url(base64_encode($entry['url']));
312 $this->action('add', $url);
313 break;
314
306 default: 315 default:
307 break; 316 break;
308 } 317 }
@@ -812,4 +821,4 @@ class Poche
812 } 821 }
813 822
814 823
815} \ No newline at end of file 824}