use tabs & spaces consistently, bleh :)
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 31 Jan 2011 18:56:09 +0000 (18:56 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 31 Jan 2011 18:56:09 +0000 (18:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19345 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/0480.schema.actor_usr_purge_data.sql

index 0b86aef..d621300 100644 (file)
@@ -374,14 +374,14 @@ CREATE OR REPLACE FUNCTION actor.usr_purge_data(
 DECLARE
        suffix TEXT;
        renamable_row RECORD;
-    dest_usr INTEGER;
+       dest_usr INTEGER;
 BEGIN
 
-    IF specified_dest_usr IS NULL THEN
-        dest_usr := 1; -- Admin user on stock installs
-    ELSE
-        dest_usr := specified_dest_usr;
-    END IF;
+       IF specified_dest_usr IS NULL THEN
+               dest_usr := 1; -- Admin user on stock installs
+       ELSE
+               dest_usr := specified_dest_usr;
+       END IF;
 
        UPDATE actor.usr SET
                active = FALSE,
index adea30c..5e27dc5 100644 (file)
@@ -9,14 +9,14 @@ CREATE OR REPLACE FUNCTION actor.usr_purge_data(
 DECLARE
        suffix TEXT;
        renamable_row RECORD;
-    dest_usr INTEGER;
+       dest_usr INTEGER;
 BEGIN
 
-    IF specified_dest_usr IS NULL THEN
-        dest_usr := 1; -- Admin user on stock installs
-    ELSE
-        dest_usr := specified_dest_usr;
-    END IF;
+       IF specified_dest_usr IS NULL THEN
+               dest_usr := 1; -- Admin user on stock installs
+       ELSE
+               dest_usr := specified_dest_usr;
+       END IF;
 
        UPDATE actor.usr SET
                active = FALSE,