Jump to content

Plugin/App update count value


Go to solution Solved by Adriano Faria,

Recommended Posts

Posted

Anyone knows where this counter is stored in the database?

Could contain: Text, Credit Card

With the Marketplace being removed and the plugins not having an update URL, this notification would stay there forever. 
I already cleared the update data in the plugins table, but the counter seems to be stored somewhere else. 

  • Solution
Posted (edited)

Clear the cache.

			case 'plugins':
				foreach( \IPS\Plugin::plugins() as $plugin )
				{
					if( $plugin->update_check_data )
					{
						$data = json_decode( $plugin->update_check_data, TRUE );
						if( !empty( $data['longversion'] ) AND $data['longversion'] > $plugin->version_long )
						{
							$count++;
						}
					}
				}
				break;


		\IPS\Data\Store::i()->$key = $count;
		return (int) \IPS\Data\Store::i()->$key;
	}

 

Edited by Adriano Faria
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...