Skip to content

Commit

Permalink
do not use sqlite helper internal method
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jun 13, 2023
1 parent 1fb91b5 commit 749c70e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions helper.php
Expand Up @@ -839,10 +839,8 @@ public function html_table() {

// check ACLs
$userEdit = false;
/** @var \helper_plugin_sqlite $sqliteHelper */
$sqliteHelper = plugin_load('helper', 'sqlite');
foreach ($pids as $pid) {
if ($sqliteHelper->_getAccessLevel($pid) >= AUTH_EDIT) {
if (auth_quickaclcheck($pid) >= AUTH_EDIT) {
$userEdit = true;
continue;
}
Expand Down

0 comments on commit 749c70e

Please sign in to comment.