Aleksander Machniak
2013-07-31 5d0cb00d5ef9e9647ab7f7ae913ff9d0d2684efc
Fix removing attachments from the list with database_attachments plugin
1 files modified
6 ■■■■ changed files
plugins/database_attachments/database_attachments.php 6 ●●●● patch | view | raw | blame | history
plugins/database_attachments/database_attachments.php
@@ -84,14 +84,10 @@
     */
    function remove($args)
    {
        $args['status'] = false;
        $cache  = $this->get_cache();
        $status = $cache->remove($args['id']);
        if ($status) {
            $args['status'] = true;
        }
        $args['status'] = true;
        return $args;
    }