added: "edit" button on threads
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@616 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -129,15 +129,16 @@ void Content::PostFunEmacs()
|
||||
bool adding = !request.is_item;
|
||||
bool edit_with_url = ReadItem(request.item, Item::file);
|
||||
|
||||
if( adding )
|
||||
SetUser(request.item); // set user before checking the rebus
|
||||
|
||||
if( !PostEmacsCheckAbuse(adding) )
|
||||
return;
|
||||
|
||||
|
||||
if( adding )
|
||||
{
|
||||
request.is_item = true;
|
||||
request.item.privileges = 0644; // !! tymczasowo, bedzie uzyte umask
|
||||
SetUser(request.item);
|
||||
PostFunEmacsAdd(request.item);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user