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
443dc3d5
Commit
443dc3d5
authored
Sep 09, 2009
by
Richard Mansfield
Browse files
Get rid of warning in logs when uploading institution files
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
6e9408e8
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/file/lib.php
View file @
443dc3d5
...
...
@@ -867,7 +867,7 @@ class ArtefactTypeFile extends ArtefactTypeFileBase {
$f
->
delete
();
throw
new
UploadException
(
$error
);
}
else
if
(
$owner
)
{
else
if
(
isset
(
$owner
)
)
{
$owner
->
quota_add
(
$size
);
$owner
->
commit
();
}
...
...
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