Skip to content

Commit

Permalink
Move constants to legacy file
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed May 9, 2017
1 parent 3c49806 commit fdaf1c3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 14 additions & 0 deletions libraries/import.legacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@
define('JPATH_ISWIN', IS_WIN);
define('JPATH_ISMAC', IS_MAC);

/**
* Mask for the raw routing mode
*
* @deprecated 4.0
*/
const JROUTER_MODE_RAW = 0;

/**
* Mask for the SEF routing mode
*
* @deprecated 4.0
*/
const JROUTER_MODE_SEF = 1;

// Register the PasswordHash lib
JLoader::register('PasswordHash', JPATH_PLATFORM . '/phpass/PasswordHash.php');

Expand Down
14 changes: 0 additions & 14 deletions libraries/src/Joomla/CMS/Router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@
use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Component\ComponentHelper;

/**
* Mask for the raw routing mode
*
* @deprecated 4.0
*/
const JROUTER_MODE_RAW = 0;

/**
* Mask for the SEF routing mode
*
* @deprecated 4.0
*/
const JROUTER_MODE_SEF = 1;

/**
* Class to create and parse routes
*
Expand Down

0 comments on commit fdaf1c3

Please sign in to comment.