]> git.mjollnir.org Git - moodle.git/commitdiff
Swapping portfolio_exception and portfolio_export_exception. Was
authorstronk7 <stronk7>
Tue, 2 Sep 2008 09:22:36 +0000 (09:22 +0000)
committerstronk7 <stronk7>
Tue, 2 Sep 2008 09:22:36 +0000 (09:22 +0000)
causing some problems under PHP 5.2.5 (Win32 packages).

lib/portfoliolib.php

index 9b4c1ec5e90bd247dbabe87dcca12f98ecc9d4ca..c7a362a53a9676738aa68e53ce5959bffccea5ee 100644 (file)
@@ -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}