Committing deletion of a one-off priming
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Activizr.Logic.Financial
|
||||
{
|
||||
public static void PrimePiratpartietSE() // One-off. Once this has been run once, delete it.
|
||||
{
|
||||
/* -- this was a one-time one-off
|
||||
if (PirateDb.GetDatabaseForReading().GetOrganizationFinancialAccountId(1, OrganizationFinancialAccountType.AssetsBankAccountMain) != 0)
|
||||
{
|
||||
return;
|
||||
@@ -53,6 +54,7 @@ namespace Activizr.Logic.Financial
|
||||
FinancialAccount.FromIdentity(27).IsConferenceParent = true;
|
||||
|
||||
Organization.PPSE.IsEconomyEnabled = true; // Kill this function in base, too
|
||||
*/
|
||||
}
|
||||
|
||||
public OrganizationFinancialAccounts (int organizationId)
|
||||
|
||||
@@ -149,7 +149,6 @@ namespace Activizr.Logic.Structure
|
||||
public bool IsEconomyEnabled
|
||||
{
|
||||
get { return OptionalData.GetOptionalDataBool(ObjectOptionalDataType.OrgEconomyEnabled); }
|
||||
set { OptionalData.SetOptionalDataBool(ObjectOptionalDataType.OrgEconomyEnabled, value);}
|
||||
}
|
||||
|
||||
public void EnableEconomy()
|
||||
|
||||
@@ -28,9 +28,5 @@ public partial class Default : PageV5Base
|
||||
this.LabelDashboardTemporaryContent.Text = Resources.Global.Dashboard_Main_Temporary;
|
||||
this.LabelDashboardInfo.Text = Resources.Global.Dashboard_Info_Temporary;
|
||||
this.LabelGoThere2.Text = Resources.Global.Global_GoThere;
|
||||
|
||||
// THIS IS A ONE-OFF, DELETE:
|
||||
|
||||
OrganizationFinancialAccounts.PrimePiratpartietSE();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user