StarRiver
Member
I have a bit of code that I'm trying to tweak that currently says:
I want to replace the constant: 'watch_email' with the user's value for 'default_watch_state'. What functions do I need to call to retrieve that user value?
Thanks!
Code:
if (isset($permissions['view']) AND $permissions['view']){$ThreadWatchModel->setThreadWatchState($user['user_id'], $thread['thread_id'], 'watch_email');
I want to replace the constant: 'watch_email' with the user's value for 'default_watch_state'. What functions do I need to call to retrieve that user value?
Thanks!