Skip to content

Commit

Permalink
Replace deprecated get_all_options filter with an action
Browse files Browse the repository at this point in the history
Feature request YOURLS#3682
  • Loading branch information
RavanH committed Dec 12, 2023
1 parent b493c47 commit d0c318a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Database/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function get_all_options() {
$this->ydb->set_option($name, yourls_maybe_unserialize($value));
}

yourls_apply_filter('get_all_options', 'deprecated');
yourls_do_action('get_all_options', $options);

return true;
}
Expand Down

0 comments on commit d0c318a

Please sign in to comment.