We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 05fea4cd authored by mattl's avatar mattl

Aurhg, and get all the properties, not just id

parent 2198f395
......@@ -39,7 +39,7 @@ require_once INSTALLDIR.'/scripts/commandline.inc';
print "Finding File entries that are not related to a Notice (or the notice has been deleted)...";
$file = new File();
$sql = 'SELECT file.id FROM file'.
$sql = 'SELECT file.* FROM file'.
' JOIN file_to_post ON file_to_post.file_id=file.id'.
' NOT EXISTS (SELECT file_to_post.file_id FROM file_to_post WHERE file.id=file_to_post.file_id)'.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment