diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-07-14 10:56:10 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-14 10:56:10 -0700 |
| commit | c3f93957d7af6c6058582fcb1acbe5b8374a70ed (patch) | |
| tree | 2cd51879245b1e48637af57720907ec3a7185d99 /modules/gallery/helpers/gallery_theme.php | |
| parent | cc05d279ea9c7317f6393b0336df724dbb4a898f (diff) | |
Move the gallery version out of a module variable and into a constant
in the gallery helper. This will let us bump the version without
having to bump the gallery module number.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index 0e3150bc..226b8a42 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -116,8 +116,7 @@ class gallery_theme_Core { static function credits() { return "<li class=\"first\">" . t(module::get_var("gallery", "credits"), - array("url" => "http://gallery.menalto.com", - "version" => module::get_var("gallery", "version"))) . + array("url" => "http://gallery.menalto.com", "version" => gallery::VERSION)) . "</li>"; } |
