Jump to content

Plugin/App update count value


Go to solution Solved by Adriano Faria,

Recommended Posts

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. 

Link to comment
Share on other sites

  • Solution

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
Link to comment
Share on other sites

  • Recently Browsing   0 members

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