1
This bug has been sent by zyspec.
http://sourceforge.net/p/xoops/bugs/1272/In this topic we can discuss it.
I can find
too many functions in xoops dont have
a meaningful return![](https://xoops.org/uploads/smilies/smil3dbd4d4e4c4f2.gif)
they mainly have a return true
![](https://xoops.org/uploads/smilies/smil3dbd4d4e4c4f2.gif)
This bug is exist in new core functions too
![](https://xoops.org/uploads/smilies/smil3dbd4d4e4c4f2.gif)
eg: nearly all functions in moduleadmin class in Frameworks/moduleclasses/moduleadmin/moduleadmin.php
and one important function is addConfigBoxLine.
It always return true whether the chmod is ok or not ok or folder is exist or not exist
![](https://xoops.org/uploads/smilies/smil3dbd4d4e4c4f2.gif)
So one developer like me
have to write a completely same function to find if chmod is ok or not.
So this bug needs more and more attention from core team.