Commit c9bb9138 authored by jan.koester's avatar jan.koester
Browse files

test

parent 9ac04a42
Loading
Loading
Loading
Loading
+0 −7
Changes for plugins/media/media.cpp: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -504,13 +504,6 @@ namespace blogi {
                    _ensureMdbReady(tid, _sessionToken);
                    _mdb[tid]->delete_album(albumId);
                }
                json_object *jroot = json_object_new_object();
                json_object_object_add(jroot, "title", json_object_new_string(tr(_lang,"media library").c_str()));
                json_object_object_add(jroot, "redirect", json_object_new_string(Args->config->buildurl("settings/media").c_str()));
                if(!albumId.empty()){
                    json_object_object_add(jroot, "message", json_object_new_string(tr(_lang,"Album removed").c_str()));
                }
                return jroot;
            }

            if(suburl=="config"){