]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Session.php
Added sharing check for DFRN
[friendica.git] / src / Core / Session.php
index e648d4cac025bcff9335ebd6b35d8a8d5138b43a..059cd499c080513d038e0329f1f929b82c59e7e4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -44,6 +44,11 @@ class Session
                return DI::session()->get($name, $defaults);
        }
 
+       public static function pop($name, $defaults = null)
+       {
+               return DI::session()->pop($name, $defaults);
+       }
+
        public static function set($name, $value)
        {
                DI::session()->set($name, $value);