How can I remove the apps button?

I want to delete this apps button,but I can't find the php code (\owncloud\apps\provisioning_api\lib\apps.php) .

Actual behaviour
Tell us what happens instead
Can you tell me the php file to remove the apps button? Thank you very much !

Server configuration
Operating system: Ubuntu14.04
Web server:OC9.1.3
PHP version:5.6
ownCloud version (see ownCloud admin page):
Updated from an older ownCloud or fresh install:
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

There is a config.php setting for that [1], not need to modify code (the file you had a look was completely wrong anyway).

[1] https://doc.owncloud.org/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#apps

FYI: this button is only available for admins


Thank your for your reply !!
My parameter is in the picture,but apps button is still displayed .

Thanks you ! !
I want to remove the apps and gallery buttons in the web administrator mode.

Just disable the gallery app??

The two buttons (gallery and apps ) are not visible and available in the admin mode.

Thanks you!!!!

Why not just create a new user?

https://doc.owncloud.org/server/latest/admin_manual/configuration_user/user_configuration.html#creating-a-new-user

The Gallery button is visible in the user mode. Thanks you for your reply!

Why not disable the gallery app?

https://doc.owncloud.org/server/latest/admin_manual/installation/apps_management_installation.html#viewing-enabled-apps