• Son Nguyen's avatar
    Handle embedded image deletion better. Bug 1489284 · 740c0fa7
    Son Nguyen authored
    Refactor updating embedded images
    
    Deals with the deleting of embedded images in a:
    - blog
    - forum post
    - forum topic
    - group description
    - note
    - page description
    
    Also sorts out the problem where a note embedded item can be saved
    with both 'editnote' and 'textbox' resourcetype. We only need one.
    
    Also add 'static' to EmbeddedImage::methods()
    
    behatnotneeded
    
    Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
    740c0fa7
deletetopic.php 4.98 KB