changed: notification's template
added: notifications in tickets git-svn-id: svn://ttmath.org/publicrep/winix/trunk@650 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
|
||||
#include "emacs.h"
|
||||
#include "templates/templates.h"
|
||||
#include "core/notify.h"
|
||||
#include "functions.h"
|
||||
|
||||
|
||||
@@ -46,12 +45,7 @@ return false;
|
||||
|
||||
bool Emacs::HasAccess()
|
||||
{
|
||||
if( !request->is_item )
|
||||
return HasAccess(*request->dir_tab.back()); // adding a new item
|
||||
else
|
||||
return HasAccess(request->item); // editing an existing item
|
||||
|
||||
return true;
|
||||
return HasAccess(*request->last_item);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user