]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14591 - fixing bug in last commit that would have broken for 'push' portfolio...
authormjollnir_ <mjollnir_>
Sat, 30 Aug 2008 16:39:08 +0000 (16:39 +0000)
committermjollnir_ <mjollnir_>
Sat, 30 Aug 2008 16:39:08 +0000 (16:39 +0000)
lib/portfoliolib.php

index caf91d10803290178453a4899f8e72bc6ea96073..ffa2aa9555c10fd60b94ab498113d9a5e0ec4b61 100644 (file)
@@ -2404,8 +2404,8 @@ function portfolio_handle_event($eventdata) {
     $exporter = portfolio_exporter::rewaken_object($eventdata);
     $exporter->process_stage_package();
     $exporter->process_stage_send();
-    $exporter->process_stage_cleanup();
     $exporter->save();
+    $exporter->process_stage_cleanup();
     return true;
 }