Renamed internal object names to represent a difference between standard objects and database records.

This commit is contained in:
Netkas 2023-06-20 17:28:01 -04:00
parent 8e2e1eaba1
commit dc15ce5bb9
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
16 changed files with 79 additions and 315 deletions

View file

@ -5,7 +5,7 @@
import('net.nosial.federationlib');
$federationlib = new \FederationLib\FederationLib();
$client = new \FederationLib\Objects\Client();
$client = new \FederationLib\Objects\ClientRecord();
$client->setDescription('This is a test client generated by a test script.');
$uuid = $federationlib->getClientManager()->registerClient($client);

View file

@ -5,7 +5,7 @@
import('net.nosial.federationlib');
$federationlib = new \FederationLib\FederationLib();
$client = new \FederationLib\Objects\Client();
$client = new \FederationLib\Objects\ClientRecord();
$client->setDescription('This is a test client generated by a test script.');
$uuid = $federationlib->getClientManager()->registerClient($client);

View file

@ -8,7 +8,7 @@
// loop 50 times to create 50 clients
for($i = 0; $i < 50; $i++)
{
$client = new \FederationLib\Objects\Client();
$client = new \FederationLib\Objects\ClientRecord();
$client->setDescription('This is a test client generated by a test script.');
$client->enableAuthentication();