Skip to content

Dispatch upgradeAppStoreApps event#27648

Merged
PVince81 merged 2 commits into
masterfrom
update-from-market
Apr 18, 2017
Merged

Dispatch upgradeAppStoreApps event#27648
PVince81 merged 2 commits into
masterfrom
update-from-market

Conversation

@VicDeo

@VicDeo VicDeo commented Apr 17, 2017

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/private/Updater.php
// if (Installer::isUpdateAvailable($app)) {
// $ocsId = \OC::$server->getConfig()->getAppValue($app, 'ocsid', '');
//
// $this->emit('\OC\Updater', 'upgradeAppStoreApp', [$app]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep old events for backward compatibility ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PVince81 it was not me, who commented that out. IIRC it was commented when app management part was stripped from core

@PVince81

Copy link
Copy Markdown
Contributor

apart from that looks good to me.

still WIP ?

@VicDeo

VicDeo commented Apr 18, 2017

Copy link
Copy Markdown
Contributor Author

@PVince81 I haven't tested it yet. I'm not used to supply untested code

@PVince81

Copy link
Copy Markdown
Contributor

would still be good to keep the old hook, unless you think it's private and not used anywhere.

if that's the case, then 👍

@VicDeo VicDeo changed the title [WIP] Dispatch upgradeAppStoreApps event Dispatch upgradeAppStoreApps event Apr 18, 2017
@VicDeo VicDeo added this to the 10.0 milestone Apr 18, 2017
@VicDeo

VicDeo commented Apr 18, 2017

Copy link
Copy Markdown
Contributor Author

@PVince81 It has a listener in core/Command/Upgrade.php so I put it back

@PVince81 PVince81 merged commit 39c01cc into master Apr 18, 2017
@PVince81 PVince81 deleted the update-from-market branch April 18, 2017 20:03
@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants