added ezc functions: winix_false, winix_true

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@679 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-11-22 01:12:46 +00:00
parent 8e72a820dd
commit 515d4bab0d
4 changed files with 16 additions and 0 deletions

View File

@@ -152,6 +152,8 @@ bool System::CanChangeUser(const Item & item, long new_user_id)
// super user is allowed everything
return true;
// !! przeciez to prosciej mozna zapisac
// albo dac od razu return false
if( item.user_id != new_user_id )
// only super user can change the owner of an item
return false;