Skip to content

Commit

Permalink
style(multisite): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaucau committed Dec 18, 2024
1 parent 01f87fa commit 61cdffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Orm/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct()
$this->db = $wpdb;

// Add hook to update prefix when switching between blogs in multisite
add_action('switch_blog', function() {
add_action('switch_blog', function () {
$this->setTablePrefix($this->db->prefix);
});
}
Expand Down

0 comments on commit 61cdffa

Please sign in to comment.