Mercurial > hg > fapweb
changeset 888:e0903d0c3954
Move function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 26 Nov 2014 18:06:08 +0200 |
parents | e6a1410ce71d |
children | 0fbf63bbb8f4 |
files | msite.inc.php |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/msite.inc.php Wed Nov 26 18:05:52 2014 +0200 +++ b/msite.inc.php Wed Nov 26 18:06:08 2014 +0200 @@ -305,6 +305,14 @@ ); +function stFileError($userID, $adminMsg, $userMsg) +{ + stLogError($adminMsg); + stError(($userID === 0) ? $adminMsg : $userMsg); + return FALSE; +} + + // // Party infromation system data/variables handling // @@ -1058,14 +1066,6 @@ } -function stFileError($userID, $adminMsg, $userMsg) -{ - stLogError($adminMsg); - stError(($userID === 0) ? $adminMsg : $userMsg); - return FALSE; -} - - // // File table entry adding //