diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-21 20:38:25 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-21 20:38:25 -0800 |
commit | 318c86ab56ec63f2f65af0581991c7a5dc8ae433 (patch) | |
tree | eb4de1e0d3bb4c800c9fdd1e4ed45a0b66961426 /modules/slideshow/helpers/slideshow_event.php | |
parent | 8788880065ca199216df552f66fd065c3f35a0aa (diff) | |
parent | 0da5d9e606fba5b6dc6137812df32cd1d0f5750f (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/slideshow/helpers/slideshow_event.php')
-rw-r--r-- | modules/slideshow/helpers/slideshow_event.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/slideshow/helpers/slideshow_event.php b/modules/slideshow/helpers/slideshow_event.php index c4d7c56d..137ec313 100644 --- a/modules/slideshow/helpers/slideshow_event.php +++ b/modules/slideshow/helpers/slideshow_event.php @@ -18,6 +18,12 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class slideshow_event_Core { + static function pre_deactivate($data) { + if ($data->module == "rss") { + $data->messages["warn"][] = t("The Slideshow module requires the RSS module."); + } + } + static function module_change($changes) { if (!module::is_active("rss") || in_array("rss", $changes->deactivate)) { site_status::warning( |