summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php')
-rw-r--r--www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php b/www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php
index a6a01fd7..4141e047 100644
--- a/www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php
+++ b/www/wiki/extensions/ImportarPerfil/ImportarPerfil.class.php
@@ -6,10 +6,12 @@ class ImportarPerfilHooks {
if ( $byEmail ) {
return true;
}
- error_log('############### Se creo una cuenta, intento importar datos del perfil de Elgg si existe');
$username = $user->mName;
$email = $user->mEmail;
- $importar = exec('php /srv/reevo-2020/bin/wiki/ImportarPerfil.php -n true -u '.$username.' -e '.$email);
+ error_log("############### Se creo una cuenta, intento importar datos del perfil de $username de Elgg si existe");
+ $importar = exec("php /srv/reevo-2020/bin/wiki/ImportarPerfil/ImportarPerfil.php -n true -u $username -e $email");
+ error_log("Devolvio: $importar");
+
// return self::addRedirect( 'addnewaccount' );
}
}