|
|
@@ -72,8 +72,6 @@ class BxDolProfile extends BxDol implements iBxDolProfile {
|
|
|
* Get singleton instance of Profile by content id and type
|
|
|
*/
|
|
|
public static function getInstanceByContentAndType($iContent, $sType) {
|
|
|
- if (!$iAccountId)
|
|
|
- $iAccountId = getLoggedId();
|
|
|
$oQuery = BxDolProfileQuery::getInstance();
|
|
|
$aProfile = $oQuery->getProfileByContentAndType($iContent, $sType);
|
|
|
if (!$aProfile)
|