Skip to content

Commit

Permalink
Fix: Deprecated function with PHP 8.1 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingYes authored May 4, 2023
1 parent 2574f2e commit e36da4e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aryo-activity-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ final class AAL_Main {
public $api;

/**
* @var AAL_Privacy
* @since 2.1.0
* @var \AAL_Notifications
*/
private $privacy;
public $notifications;

/**
* Load text domain
Expand All @@ -101,12 +100,13 @@ protected function __construct() {
$this->settings = new AAL_Settings();
$this->api = new AAL_API();
$this->notifications = new AAL_Notifications();
$this->export = new AAL_Export();
$this->privacy = new AAL_Privacy();

new AAL_Export();
new AAL_Privacy();

// set up our DB name
$wpdb->activity_log = $wpdb->prefix . 'aryo_activity_log';

add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
}

Expand Down

0 comments on commit e36da4e

Please sign in to comment.