[aur-dev] [PATCH] Convert package adoption/disowning to a function
Loui
louipc.ist at gmail.com
Mon Oct 27 20:48:34 EDT 2008
On Sun, Oct 05, 2008 at 02:13:35AM +0800, Callan Barrett wrote:
> Signed-off-by: Callan Barrett <wizzomafizzo at gmail.com>
> ---
> web/html/packages.php | 100 +++----------------------------------------------
> web/lib/pkgfuncs.inc | 58 ++++++++++++++++++++++++++++
> 2 files changed, 64 insertions(+), 94 deletions(-)
>
> diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
> index c7e31f6..346e59e 100644
> --- a/web/lib/pkgfuncs.inc
> +++ b/web/lib/pkgfuncs.inc
> @@ -1131,3 +1131,61 @@ function pkg_delete ($atype, $ids) {
[snip]
> + if ($action && $atype = "User") {
Should be:
+ if ($action && $atype == "User") {
I fixed those syntax mistakes, whitespace and tweaked a couple
other things. Pushed to testing.
More information about the aur-dev
mailing list