Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
162de6ad
Commit
162de6ad
authored
Jan 12, 2009
by
Nigel McNie
Browse files
Changed message for mime type updating so it doesn't sound so much like
an error. (cherry picked from commit
f36a7745
)
parent
64781532
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/lib.php
View file @
162de6ad
...
...
@@ -236,7 +236,7 @@ class PluginArtefactFile extends PluginArtefact {
if
((
!
isset
(
$currentmimetypes
[
$description
])
&&
$newmimetypes
)
||
((
join
(
''
,
$currentmimetypes
[
$description
])
!=
join
(
''
,
$newmimetypes
))))
{
log_debug
(
'
Need to u
pdat
e
mime types for '
.
$description
);
log_debug
(
'
U
pdat
ing
mime types for '
.
$description
);
delete_records
(
'artefact_file_mime_types'
,
'description'
,
$description
);
foreach
(
$newmimetypes
as
$newmimetype
)
{
$record
=
new
StdClass
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment