- settings optimization;

This commit is contained in:
nikitozzzzzzz
2017-12-11 09:53:38 +02:00
parent 9e4a0b5309
commit e36c3ca841
51 changed files with 540 additions and 631 deletions
+1 -1
View File
@@ -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;
}