https://bugzilla.wikimedia.org/show_bug.cgi?id=26848

           Summary: deleteArchivedFiles.php deletes db records, but not
                    files
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Maintenance scripts
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: m.prestifili...@gmail.com
                CC: innocentkil...@gmail.com


If you run deleteArchivedFiles.php without permission to delete files in the
image directory, the script will delete the records in the db, but will not
delete the files.  

I looked at the code, and it's an easy fix by adding an if statement around the
unlink method.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to