aboutsummaryrefslogtreecommitdiff
path: root/lib/filesystem/StandardFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystem/StandardFile.php')
-rw-r--r--lib/filesystem/StandardFile.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/filesystem/StandardFile.php b/lib/filesystem/StandardFile.php
index 9d2d35c..4eb3140 100644
--- a/lib/filesystem/StandardFile.php
+++ b/lib/filesystem/StandardFile.php
@@ -460,9 +460,11 @@ class StandardFile implements FileType, ArrayAccess, StandardFileInterface
/**
* Returns the content for that additional column, if it exists. You can return null a string
- * or a Flexi_Template as the content.
+ * or a Flexi\Template as the content.
+ *
* @param string $column_index
- * @return null|string|Flexi_Template
+ *
+ * @return null|string|Flexi\Template
*/
public function getContentForAdditionalColumn($column_index)
{
@@ -497,7 +499,7 @@ class StandardFile implements FileType, ArrayAccess, StandardFileInterface
return null;
}
- $factory = new Flexi_TemplateFactory(
+ $factory = new Flexi\Factory(
$GLOBALS['STUDIP_BASE_PATH'] . '/templates/filesystem/file_types/'
);
$template = $factory->open('standard_file_info');