single migration scripts should not be public
This commit is contained in:
parent
66942e6c62
commit
077c43bf95
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ class Migration {
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function migrate_from_0_17() {
|
private static function migrate_from_0_17() {
|
||||||
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
foreach ( get_users( array( 'fields' => 'ID' ) ) as $user_id ) {
|
||||||
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
$followers = get_user_meta( $user_id, 'activitypub_followers', true );
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ class Migration {
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function migrate_from_0_16() {
|
private static function migrate_from_0_16() {
|
||||||
// Get the custom template.
|
// Get the custom template.
|
||||||
$old_content = \get_option( 'activitypub_custom_post_content', ACTIVITYPUB_CUSTOM_POST_CONTENT );
|
$old_content = \get_option( 'activitypub_custom_post_content', ACTIVITYPUB_CUSTOM_POST_CONTENT );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue