Commit b7b997c7 authored by Jan Wennrich's avatar Jan Wennrich 🎓

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

parent 346302aa
......@@ -893,9 +893,7 @@ class Utils
public static function getMediaFolderSizeForProject(QUI\Projects\Project $Project)
// TODO: implement getMediaFolderSizeForProject() logic
return -1;
return QUI\Utils\System\File::getDirectorySize($Project->getMedia()->getFullPath());
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