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
ce0fcf2a
Commit
ce0fcf2a
authored
Dec 05, 2006
by
Richard Mansfield
Browse files
Remove name field from my files
parent
aa079749
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/myfiles.json.php
View file @
ce0fcf2a
...
...
@@ -42,12 +42,12 @@ else {
}
$prefix
=
get_config
(
'dbprefix'
);
$filedata
=
get_records_sql_array
(
'SELECT a.id, a.artefacttype, a.mtime, f.
name, f.size
FROM '
.
$prefix
.
'artefact
_file_files f
INNER JOIN '
.
$prefix
.
'artefact
a
ON f.artefact = a.id
$filedata
=
get_records_sql_array
(
'SELECT a.id, a.artefacttype, a.mtime, f.
size, a.title, a.description
FROM '
.
$prefix
.
'artefact
a
INNER JOIN '
.
$prefix
.
'artefact
_file_files f
ON f.artefact = a.id
WHERE a.owner = '
.
$userid
.
'
AND a.parent'
.
$infolder
.
'
ORDER BY a.artefacttype DESC
, f.name ASC
'
,
''
);
ORDER BY a.artefacttype DESC'
,
''
);
if
(
!
$filedata
)
{
$filedata
=
array
();
...
...
@@ -67,7 +67,7 @@ $result = array(
'message'
=>
get_string
(
'filelistloaded'
),
);
log_debug
(
$result
);
//
log_debug($result);
json_headers
();
print
json_encode
(
$result
);
...
...
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