diff --git a/libraries/classes/InsertEdit.php b/libraries/classes/InsertEdit.php index f7edea0c54bf..66dab9289f66 100644 --- a/libraries/classes/InsertEdit.php +++ b/libraries/classes/InsertEdit.php @@ -3518,19 +3518,4 @@ public function getHtmlForInsertEditRow( return $html_output; } - - /** - * Returns whether the user has necessary insert/update privileges for the column - * - * @param array $table_column array of column details - * @param bool $insert_mode whether on insert mode - * - * @return boolean whether user has necessary privileges - */ - private function userHasColumnPrivileges(array $table_column, $insert_mode) - { - $privileges = $table_column['Privileges']; - return ($insert_mode && false !== strpos($privileges, 'insert')) - || (! $insert_mode && false !== strpos($privileges, 'update')); - } }