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
73ca250b
Commit
73ca250b
authored
Jun 02, 2009
by
Richard Mansfield
Browse files
Remove useless argument from my files function
parent
87348619
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/lib.php
View file @
73ca250b
...
...
@@ -395,7 +395,7 @@ abstract class ArtefactTypeFileBase extends ArtefactType {
}
public
static
function
get_my_files_data
(
$parentfolderid
,
$userid
,
$group
=
null
,
$institution
=
null
,
$idkeys
=
true
)
{
public
static
function
get_my_files_data
(
$parentfolderid
,
$userid
,
$group
=
null
,
$institution
=
null
)
{
$select
=
'
SELECT
a.id, a.artefacttype, a.mtime, f.size, a.title, a.description,
...
...
@@ -498,12 +498,6 @@ abstract class ArtefactTypeFileBase extends ArtefactType {
}
uasort
(
$filedata
,
array
(
"ArtefactTypeFileBase"
,
"my_files_cmp"
));
if
(
!
$idkeys
)
{
// Temporary: allow blog attachment stuff to continue to
// work with the old file.js & tablerenderer.js
return
array_values
(
$filedata
);
}
return
$filedata
;
}
...
...
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