]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.6 stable. Error message now displays using notify() instead of
authorvyshane <vyshane>
Mon, 26 Jun 2006 04:44:41 +0000 (04:44 +0000)
committervyshane <vyshane>
Mon, 26 Jun 2006 04:44:41 +0000 (04:44 +0000)
error() when purging of old RSS feeds fail during a discussion move.

mod/forum/discuss.php

index a4019fd776987f7981af1659f59a4a34fb5dcfed..a422361eb700aeec47e7c3d21c7047c69eb1f7b3 100644 (file)
@@ -73,7 +73,8 @@
                 // the regeneration of the feeds since the discussions have been
                 // moved.
                 if (!forum_rss_delete_file($forum) || !forum_rss_delete_file($fromforum)) {
-                    //error('Could not purge the cached RSS feeds for the source and/or destination forums');
+                    notify('Could not purge the cached RSS feeds for the source and/or'.
+                           'destination forum(s) - check your file permissionsforums');
                 }
             }