# HG changeset patch # User Matti Hamalainen # Date 1417017968 -7200 # Node ID e0903d0c39546c137471d87176616a8065b3c008 # Parent e6a1410ce71df34e8a59a00d5080889c612363ce Move function. diff -r e6a1410ce71d -r e0903d0c3954 msite.inc.php --- 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 //