summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/MY_View.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/MY_View.php')
-rw-r--r--modules/gallery/libraries/MY_View.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/gallery/libraries/MY_View.php b/modules/gallery/libraries/MY_View.php
index 96dcc71b..eb55aca6 100644
--- a/modules/gallery/libraries/MY_View.php
+++ b/modules/gallery/libraries/MY_View.php
@@ -38,16 +38,8 @@ class View extends View_Core {
try {
return parent::render($print, $renderer);
} catch (Exception $e) {
- Kohana::Log('error', $e->getTraceAsString());
- Kohana::Log('debug', $e->getMessage());
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
return "";
}
}
-
- public function body_attributes() {
- if (locale::is_rtl()) {
- return 'class="rtl"';
- }
- return '';
- }
}