summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/MY_View.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-29 17:25:53 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-29 17:25:53 -0700
commit15f148349e8dd9145d33fbdbc85142b9a864b6ed (patch)
tree011d3b65c4734fdcf586f3670756508506c78561 /modules/gallery/libraries/MY_View.php
parentca96d4719608d4a8a62457ecf3e54ac8ca29629a (diff)
Make body_attributes() a theme callback instead of a method on the
View. This allows modules to piggyback on it.
Diffstat (limited to 'modules/gallery/libraries/MY_View.php')
-rw-r--r--modules/gallery/libraries/MY_View.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/gallery/libraries/MY_View.php b/modules/gallery/libraries/MY_View.php
index 43783158..eb55aca6 100644
--- a/modules/gallery/libraries/MY_View.php
+++ b/modules/gallery/libraries/MY_View.php
@@ -42,11 +42,4 @@ class View extends View_Core {
return "";
}
}
-
- public function body_attributes() {
- if (locales::is_rtl()) {
- return 'class="rtl"';
- }
- return '';
- }
}