Commit 63792c76 authored by catch's avatar catch
Browse files

Issue #1907876 by dawehner: Remove views_import_access().

parent a331965b
......@@ -704,16 +704,6 @@ function views_invalidate_cache() {
* Access callback to determine if the user can import Views.
* View imports require an additional access check because they are PHP
* code and PHP is more locked down than administer views.
function views_import_access() {
return user_access('administer views') && user_access('use PHP for settings');
* Determine if the logged in user has access to a view.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment