/** * Check if the Profile Picture library is enabled * * @return bool */ protected function isProfilePictureLibraryEnabled() { if (JLibraryHelper::isEnabled('profilepicture')) { return true; } return false; }