#1 2016-01-04 16:41:07

otemu
Member
Registered: 2014-03-07
Posts: 183

ionize 1.0.7.1 - session unset removed - Tag missing: unset

Hi,

Happy New Year All smile

In latest version of ionize 1.0.7.1 the session:unset method has been removed from \application\libraries\Tagmanager.php:

	// ------------------------------------------------------------------------


	/**
	 * Unsets one session variable
	 * Expands or not the tag if the "if" or "expression" attributes are set
	 *
	 * @usage	<ion:session:unset key="session_var_name" />
	 *
	 */
	public static function tag_session_unset(FTL_Binding $tag)
	{
		$key = $tag->getAttribute('key');

		if ( ! is_null($key))
		{
			return self::output_value($tag, self::$ci->session->unset_userdata($key));
		}
		return '';
	}

	// ------------------------------------------------------------------------

Is there a new method to unset sessions? Or was this removed by mistake?

Thanks

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations