From: stronk7 Date: Tue, 2 Sep 2008 09:22:36 +0000 (+0000) Subject: Swapping portfolio_exception and portfolio_export_exception. Was X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ebdf89575965766c10529e17505fa84af1924835;p=moodle.git Swapping portfolio_exception and portfolio_export_exception. Was causing some problems under PHP 5.2.5 (Win32 packages). --- diff --git a/lib/portfoliolib.php b/lib/portfoliolib.php index 9b4c1ec5e9..c7a362a53a 100644 --- a/lib/portfoliolib.php +++ b/lib/portfoliolib.php @@ -2466,6 +2466,12 @@ class portfolio_format_html extends portfolio_format_file {} */ class portfolio_format_mbkp extends portfolio_format_file {} +/** +* top level portfolio exception. +* sometimes caught and rethrown as {@see portfolio_export_exception} +*/ +class portfolio_exception extends moodle_exception {} + /** * exception to throw during an export - will clean up session and tempdata */ @@ -2506,12 +2512,6 @@ class portfolio_export_exception extends portfolio_exception { */ class portfolio_caller_exception extends portfolio_exception {} -/** -* top level portfolio exception. -* sometimes caught and rethrown as {@see portfolio_export_exception} -*/ -class portfolio_exception extends moodle_exception {} - /** * exception for portfolio plugins to throw when they have a problem. * usually caught and rethrown as {@see portfolio_export_exception}