# What is different same function in assets.php vs. Assets.php?

**URL:** <https://discourse.getcockpit.com/t/what-is-different-same-function-in-assets-php-vs-assets-php/2289>\
**Category:** General\
**Created:** [February 24, 2022, 12:28pm UTC](https://discourse.getcockpit.com/t/what-is-different-same-function-in-assets-php-vs-assets-php/2289 "2022-02-24T12:28:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rolf](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@Rolf](https://discourse.getcockpit.com/u/Rolf)\
**Post date:** [February 24, 2022, 12:28pm UTC](https://discourse.getcockpit.com/t/what-is-different-same-function-in-assets-php-vs-assets-php/2289/1 "2022-02-24T12:28:39Z")

</div>

What is different in using and prozess from **removeAssets** methode?

i have this : modules/Cockpit/Controller/ **Assets.php**  
and this : modules/Cockpit/module/ **assets.php**

in same scripts can i finde methode **removeAssets**

i am not understand whats is the different in use.  
it is legacycode in one of them?
