View Issue Details

IDProjectCategoryView StatusLast Update
0005484Multi Theft Auto : San AndreasServerpublic2011-10-18 09:50
ReporterMCvarialAssigned Toccw 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target Version1.2Fixed in Version1.2 
Summary0005484: function to delete resources
Description

A function like deleteResource() would be nice.

TagsNo tags attached.

Relationships

has duplicate 0006074 closed New issues resource folder removal 
child of 0003344 closed New Feature Requests Requested features tracker 

Activities

Mdbelen

2010-10-14 13:10

viewer   ~~0012042

I am really missing that function too, next to renameResource().
Please don't say "no because of security", theres ACL for that. You are responsible for providing scripters with maximum "freedom" and possibilities, you are not responsible for security, admins and scripters are that. Even now there's enough functions which you can use to fuck up resources, like the xml-functions used to delete tags from the meta.xml or whatever..
If you still not willing to add such a function, please add at least the rename-function so you can rename resources like delete-resourcename, so you can sort them better out using FTP.

eAi

2010-10-14 13:29

administrator   ~~0012043

I agree, this and other resource manipulation functions are worth having, obviously sufficiently protected by the ACL.

TheGTA

2011-07-21 14:24

updater   ~~0014006

removeResource(resource) (or deleteResource) is also on my wishlist, alongside with onResourceLoad and onResourceUnload :)

Issue History

Date Modified Username Field Change