mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- settings optimization;
This commit is contained in:
@@ -73,7 +73,7 @@ if ( ! class_exists( 'Tracking' ) ) {
|
||||
*** @check if tracking is allowed
|
||||
***/
|
||||
private function tracking_allowed() {
|
||||
if ( !um_get_option('allow_tracking') )
|
||||
if ( ! UM()->options()->get( 'allow_tracking' ) )
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user