From ebdf89575965766c10529e17505fa84af1924835 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 2 Sep 2008 09:22:36 +0000 Subject: [PATCH] Swapping portfolio_exception and portfolio_export_exception. Was causing some problems under PHP 5.2.5 (Win32 packages). --- lib/portfoliolib.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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} -- 2.39.5