Bug #645 » live_patch.diff
live_new/pages/recordings.ecpp 2011-09-02 21:13:18.707999267 +0200 | ||
---|---|---|
#include "tasks.h"
|
||
#include "tools.h"
|
||
#include "i18n.h"
|
||
#include "users.h"
|
||
#include "recman.h"
|
||
... | ... | |
deleteResult = "";
|
||
if (!todel.empty()) {
|
||
if (!cUser::CurrentUserHasRightTo(UR_DELRECS))
|
||
throw HtmlError( tr("Sorry, no permission. Please contact your administrator!") );
|
||
deletions.push_back(todel);
|
||
}
|
||
for (deletions_type::const_iterator it = deletions.begin(); it != deletions.end(); ++it) {
|