aboutsummaryrefslogtreecommitdiff
path: root/lib/models/MvvFileFileref.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-05-11 08:30:37 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-05-11 08:30:37 +0000
commit5866bdf1497623253096c1e39fb8d853c1438634 (patch)
tree1c29411180742245ddb0974385170d83011181e2 /lib/models/MvvFileFileref.php
parent04b5e6ec7ca39031f0c50289fb2892d2dc0934c1 (diff)
unify class definition in relations of simpleormap models, fixes #979
Closes #979 Merge request studip/studip!564
Diffstat (limited to 'lib/models/MvvFileFileref.php')
-rw-r--r--lib/models/MvvFileFileref.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/MvvFileFileref.php b/lib/models/MvvFileFileref.php
index 7809408..34e7d67 100644
--- a/lib/models/MvvFileFileref.php
+++ b/lib/models/MvvFileFileref.php
@@ -23,13 +23,13 @@ class MvvFileFileref extends ModuleManagementModel
$config['db_table'] = 'mvv_files_filerefs';
$config['belongs_to']['mvv_file'] = array(
- 'class_name' => 'MvvFile',
+ 'class_name' => MvvFile::class,
'foreign_key' => 'mvvfile_id',
'assoc_func' => 'findCached',
);
$config['belongs_to']['file_ref'] = array(
- 'class_name' => 'FileRef',
+ 'class_name' => FileRef::class,
'foreign_key' => 'fileref_id',
);
$config['additional_fields']['filetype']['get'] = 'getFiletype';