no one line if statements
http://doc.owncloud.org/server/5.0/developer_manual/codingguidelines.html