Blame view
sources/apps/xmpp/ajax/getSession.php
190 Bytes
|
42e4f8d60
|
1 2 3 4 5 6 7 |
<?php
$stmt = OCP\DB::prepare('SELECT * FROM `*PREFIX*xmpp` WHERE `ocUser` = ?');
$result = $stmt->execute(array(OCP\User::getUser()));
$val=$result->fetchRow();
echo json_encode($val);
?>
|