Skip to content
Permalink
Browse files

Еще ошибочки в плагине профиля.

  • Loading branch information...
Arkadiy-Sedelnikov committed Sep 11, 2013
1 parent a271fdc commit ab244f5b2cd1f36adaff73a891bc62a3a367ed0e
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/slogin_integration/profile/profile.php
@@ -17,7 +17,7 @@
require_once JPATH_ROOT.'/plugins/slogin_integration/profile/lib/profiles.php';
require_once JPATH_ROOT.'/plugins/slogin_integration/profile/lib/geo.php';
require_once JPATH_ROOT.'/components/com_slogin/controller.php';
require_once JPATH_BASE.'/components/com_slogin/controller.php';
class plgSlogin_integrationProfile extends JPlugin
{
@@ -61,7 +61,7 @@ public function onAfterSloginDeleteUser($userId)
$query->where($db->quoteName('user_id') . ' = ' . $db->quote($userId));
$db->setQuery((string)$query);
$res = $db->loadObjectList();
if(counr($res)>0){
if(count($res)>0){
foreach($res as $v){
$this->deleteProfile($v);
}

0 comments on commit ab244f5

Please sign in to comment.
You can’t perform that action at this time.