]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/global.inc.php
Merge branch 'dev' into custom_port
[github/wallabag/wallabag.git] / inc / poche / global.inc.php
index 2437d0652034024cf02d45b41b67a75892988ad2..65a026a733a7b923b75b60a714ee7636303b5620 100644 (file)
@@ -3,7 +3,7 @@
  * poche, a read it later open source system
  *
  * @category   poche
- * @author     Nicolas LÅ“uillet <nicolas@loeuillet.org>
+ * @author     Nicolas LÅ“uillet <support@inthepoche.com>
  * @copyright  2013
  * @license    http://www.wtfpl.net/ see COPYING file
  */
@@ -61,12 +61,4 @@ if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) {
 
 if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
     date_default_timezone_set('UTC');
-}
-
-#XSRF protection with token
-if (!empty($_POST)) {
-    if (!Session::isToken($_POST['token'])) {
-        die(_('Wrong token'));
-    }
-    unset($_SESSION['token']);
 }
\ No newline at end of file