NOMDL MNet: fixed incorrect usage of get_record() in permission_to_call()
authorDavid Mudrak <david.mudrak@gmail.com>
Tue, 9 Nov 2010 15:38:50 +0000 (15:38 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Tue, 9 Nov 2010 15:38:50 +0000 (15:38 +0000)
commitd82d2720378b1383d93cdec3562b993763b04f61
treeda2c5a59e080b06334e6cf18ce3d95acd2bbe45a
parent9dbc2e7b4af085bcfc79b38d7788408a190c3d9d
NOMDL MNet: fixed incorrect usage of get_record() in permission_to_call()

When $CFG->mnet_all_hosts_id was set, the get_record() returned multiply
records and produced warnings. Also, get_record_sql() == true was just
ugly.
mnet/xmlrpc/client.php