Skip to content

Commit

Permalink
Merge pull request joomla#16784 from mbabker/session-exception
Browse files Browse the repository at this point in the history
[3.8] Undeprecate and namespace unsupported session store exception
  • Loading branch information
wilsonge authored Jun 24, 2017
2 parents c2ffc29 + 4309d6e commit 2623526
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions libraries/classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
JLoader::registerAlias('JCacheExceptionUnsupported', '\\Joomla\\CMS\\Cache\\Exception\\UnsupportedCacheException', '5.0');

JLoader::registerAlias('JSession', '\\Joomla\\CMS\\Session\\Session', '5.0');
JLoader::registerAlias('JSessionExceptionUnsupported', '\\Joomla\\CMS\\Session\\Exception\\UnsupportedStorageException', '5.0');

JLoader::registerAlias('JUser', '\\Joomla\\CMS\\User\\User', '5.0');
JLoader::registerAlias('JUserHelper', '\\Joomla\\CMS\\User\\UserHelper', '5.0');
Expand Down
20 changes: 0 additions & 20 deletions libraries/joomla/session/exception/unsupported.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Joomla\CMS\Session\Exception;

defined('JPATH_PLATFORM') or die;

/**
* Exception class defining an unsupported session storage object
*
* @since 3.6.3
*/
class UnsupportedStorageException extends \RuntimeException
{
}

0 comments on commit 2623526

Please sign in to comment.