Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
* Move JError and JException to the legacy tree.
Browse files Browse the repository at this point in the history
* Move JProfiler to its own package.
  • Loading branch information
LouisLandry committed Mar 2, 2012
1 parent ebb7b21 commit cb19f8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion libraries/import.legacy.php
Expand Up @@ -49,7 +49,6 @@ class_exists('JLoader') or die;

// Import the base Joomla Platform libraries.
JLoader::import('joomla.factory');
JLoader::import('joomla.error.exception');
JLoader::import('joomla.base.object');

// Register JRequest for legacy reasons
Expand Down
@@ -1,7 +1,7 @@
<?php
/**
* @package Joomla.Platform
* @subpackage Error
* @subpackage Profiler
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
Expand All @@ -14,7 +14,7 @@
* of sections of code to understand where time is being spent.
*
* @package Joomla.Platform
* @subpackage Error
* @subpackage Profiler
* @since 11.1
*/
class JProfiler
Expand Down
File renamed without changes.
@@ -1,7 +1,7 @@
<?php
/**
* @package Joomla.Platform
* @subpackage Error
* @subpackage Exception
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
Expand All @@ -13,7 +13,7 @@
* Joomla! Exception object.
*
* @package Joomla.Platform
* @subpackage Error
* @subpackage Exception
* @since 11.1
* @deprecated 12.1
*/
Expand Down

6 comments on commit cb19f8d

@jatitoam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Louis, Tito here from Guatemala.

I noticed you moved out the error folder and the request.php files, but for mqueme's web example those are required, or it will show an error.

@LouisLandry
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All she needs to do is include import.legacy.php instead of import.php

@jatitoam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It works perfectly!

@jatitoam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Louis, about that, if those functions fell into legacy, will the support for a web app be completely dropped?
Or is there any other way of creating a web app without using legacy support?

@LouisLandry
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stay tuned, we are still working through it all. It is safe to say that creating a web app without using legacy support will be possible very soon.

@jatitoam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok thanks!!

Please sign in to comment.