1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 00:24:13 +01:00

Re-indent everything according to PEAR standard

This commit is contained in:
Nigel Williams 2020-02-19 09:20:18 +01:00
parent d0e4db3245
commit 2c133de5f3
No known key found for this signature in database
GPG Key ID: 669BF2ED84BDDE8B
26 changed files with 2350 additions and 2358 deletions

View File

@ -117,7 +117,7 @@ class DbImpl extends Db
}
/**
* function to close the cursor after having fetched rows
* Function to close the cursor after having fetched rows
*
* @param object $result Query result object or null to use the current one
*

View File

@ -36,8 +36,6 @@ require_once('ykval-db.php');
class DbImpl extends Db
{
/**
* Constructor
*
@ -99,7 +97,6 @@ class DbImpl extends Db
}
}
/**
* function to get a row from the query result
* Once all rows have been fetch, function closeCursor needs to be called

View File

@ -150,7 +150,6 @@ abstract class Db
return $this->query($query, false);
}
/**
* function to update row in database
*
@ -209,7 +208,6 @@ abstract class Db
return $this->query($query, false);
}
/**
* Function to update row in database based on a condition.
* An ID value is passed to select the appropriate column

View File

@ -1,6 +1,5 @@
#!/usr/bin/php
<?php
# Copyright (c) 2010-2015 Yubico AB
# All rights reserved.
#

View File

@ -38,7 +38,6 @@ require_once 'ykval-config.php';
require_once 'ykval-common.php';
require_once 'ykval-synclib.php';
$urls = $baseParams['__YKVAL_SYNC_POOL__'];
if ($argc == 2 && strcmp($argv[1], 'autoconf') == 0)

View File

@ -37,7 +37,6 @@ set_include_path(implode(PATH_SEPARATOR, array(
require_once 'ykval-config.php';
require_once 'ykval-common.php';
$urls = $baseParams['__YKVAL_SYNC_POOL__'];
if ($argc == 2 && strcmp($argv[1], 'autoconf') == 0)