Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch upgradeAppStoreApps event #27648

Merged
merged 2 commits into from
Apr 18, 2017
Merged

Dispatch upgradeAppStoreApps event #27648

merged 2 commits into from
Apr 18, 2017

Conversation

VicDeo
Copy link
Member

@VicDeo VicDeo commented Apr 17, 2017

No description provided.

// if (Installer::isUpdateAvailable($app)) {
// $ocsId = \OC::$server->getConfig()->getAppValue($app, 'ocsid', '');
//
// $this->emit('\OC\Updater', 'upgradeAppStoreApp', [$app]);
Copy link
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
Member 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
Contributor

apart from that looks good to me.

still WIP ?

@VicDeo
Copy link
Member Author

VicDeo commented Apr 18, 2017

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

@PVince81
Copy link
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
Copy link
Member Author

VicDeo commented Apr 18, 2017

@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
Copy link

lock bot commented Aug 3, 2019

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