- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
public bool checkUser(UserModel model = null)
{
check:
if(model != null)
if(model.authenticated != false)
if(model._id > 0)
return true;
else
goto check;
else
goto check;
else
goto check;
return false;
}
krypt 19.12.2012 01:47 # +1
krypt 19.12.2012 06:08 # +2
Vindicar 19.12.2012 09:02 # +4
bormand 19.12.2012 06:34 # +8
vladthesparrow 19.12.2012 09:02 # +1
LispGovno 19.12.2012 09:58 # +2
bormand 19.12.2012 12:54 # +3
Steve_Brown 20.12.2012 12:50 # 0
d3n4 20.12.2012 16:14 # −1
absolut 21.12.2012 09:51 # 0
d3n4 21.12.2012 13:03 # −1
TarasB 19.12.2012 13:39 # +1
roman-kashitsyn 19.12.2012 13:41 # +1
RusAlex 19.12.2012 14:37 # 0
TarasB 19.12.2012 14:46 # 0
LispGovno 19.12.2012 22:39 # 0
d3n4 19.12.2012 23:45 # 0
bormand 20.12.2012 06:25 # +1
TarasB 20.12.2012 09:36 # +1
expl 29.01.2013 21:05 # 0