aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/resources/booking.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/resources/booking.php')
-rw-r--r--app/controllers/resources/booking.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/resources/booking.php b/app/controllers/resources/booking.php
index 294aeaa..45ccb16 100644
--- a/app/controllers/resources/booking.php
+++ b/app/controllers/resources/booking.php
@@ -242,9 +242,7 @@ class Resources_BookingController extends AuthenticatedController
return true;
}
- $template_factory = new Flexi_TemplateFactory(
- $GLOBALS['STUDIP_BASE_PATH'] . '/locale/'
- );
+ $template_factory = new Flexi\Factory($GLOBALS['STUDIP_BASE_PATH'] . '/locale/');
$derived_resource = $booking->resource->getDerivedClassInstance();
$system_lang = $_SESSION['_language'];