remove the app $a passed to profile_load, also add profile_load to mod_wiki which should fix issue #431

This commit is contained in:
redmatrix
2016-06-26 22:13:59 -07:00
parent 2029b2b9ed
commit 3035c792dc
27 changed files with 29 additions and 28 deletions

View File

@@ -761,11 +761,10 @@ function identity_export_year($channel_id,$year,$month = 0) {
*
* The channel default theme is also selected for use, unless over-riden elsewhere.
*
* @param[in,out] App &$a
* @param string $nickname
* @param string $profile
*/
function profile_load(&$a, $nickname, $profile = '') {
function profile_load($nickname, $profile = '') {
// logger('profile_load: ' . $nickname . (($profile) ? ' profile: ' . $profile : ''));