Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [delete]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Send delete event timestamp element api

I have an endpoint that sets a response header when an entry is saved (code below). Is there a similar method I can use when an entry is deleted? 'api/entries.json' => function() { ...
1
vote
1answer
90 views

Plugin development: how can I check if user has the permissions to delete only his own assets?

I have a front-end form where logged users can upload and delete their personal files. These users have the strict minimum permissions required to interact with this form. They can only Create, ...
3
votes
1answer
365 views

Fetch/Remove all unused assets (by plugin)

The title is self-explanatory, but I need to buid a service function to remove unused assets, or at least to fetch those in order to delete found assets after. Any simple solution?
0
votes
1answer
316 views

Users not being deleted from the craft_users table?

Since upgrading to craft 2.6.2785 when I delete a user it appears to remove the user from the elements and elements_il8n tables but does not delete the user from the users table. If you then search ...