Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -178,9 +178,7 @@ class _Goal extends \IPS\Node\Model
|
||||
protected static function recountDonationGoals()
|
||||
{
|
||||
$count = count( static::roots() );
|
||||
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => $count ), array( 'conf_key=?', 'donation_goals' ) );
|
||||
\IPS\Settings::i()->donation_goals = $count;
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
\IPS\Settings::i()->changeValues( array( 'donation_goals' => $count ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -205,7 +203,7 @@ class _Goal extends \IPS\Node\Model
|
||||
|
||||
if( $this->_url === null )
|
||||
{
|
||||
$this->_url = \IPS\Http\Url::internal( 'app=nexus&module=clients&controller=donations&id=' . $this->_id, 'front', 'clientsdonate', array( $this->name_seo ), \IPS\Settings::i()->nexus_https );
|
||||
$this->_url = \IPS\Http\Url::internal( 'app=nexus&module=clients&controller=donations&id=' . $this->_id, 'front', 'clientsdonate', array( $this->name_seo ) );
|
||||
}
|
||||
|
||||
return $this->_url;
|
||||
|
||||
Reference in new issue
Block a user