Verified Commit 59e6493e authored by Jan Wennrich's avatar Jan Wennrich 🎓

feat: implemented getMediaCacheFolderSizeForProject()-method-body in media utils

parent b7b997c7
......@@ -906,9 +906,7 @@ class Utils
*/
public static function getMediaCacheFolderSizeForProject(QUI\Projects\Project $Project)
{
// TODO: implement getMediaCacheFolderSizeForProject() logic
return -1;
return QUI\Utils\System\File::getDirectorySize($Project->getMedia()->getFullCachePath());
}
......
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